summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-12-20 11:25:37 +0100
committerAndras Timar <andras.timar@collabora.com>2013-12-20 15:55:00 +0100
commitb55259eeb549482477c57d854f3de72aff345edb (patch)
tree35e474b8458ae776a8455f4f78e73ae28c611180 /avmedia
parent377ec698afc98a9a098b456f4ae3c694498df6a2 (diff)
typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/framework/soundhandler.cxx6
-rw-r--r--avmedia/source/gstreamer/gstplayer.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/avmedia/source/framework/soundhandler.cxx b/avmedia/source/framework/soundhandler.cxx
index e56f86b7822d..d6e2c929d64d 100644
--- a/avmedia/source/framework/soundhandler.cxx
+++ b/avmedia/source/framework/soundhandler.cxx
@@ -245,7 +245,7 @@ SoundHandler::~SoundHandler()
@attention We must hold us alive by ourself ... because we use async. vcl sound player ... but playing is started
in async interface call "dispatch()" too. And caller forget us immediately. But then our uno ref count
will decreased to 0 and will die. The only solution is to use own reference to our implementation.
- But we do it for realy started jobs only and release it during call back of vcl.
+ But we do it for really started jobs only and release it during call back of vcl.
@seealso class vcl/Sound
@seealso method implts_PlayerNotify()
@@ -324,7 +324,7 @@ void SAL_CALL SoundHandler::dispatch( const css::util::URL&
@attention a) We don't need any mutex here ... because we don't use any member!
b) Don't use internal player instance "m_pPlayer" to detect given sound file!
- It's not neccessary to do that ... and we can use temp. variable to do the same.
+ It's not necessary to do that ... and we can use temp. variable to do the same.
This way is easy - we don't must synchronize it with currently played sounds!
Another reason to do so ... We are a listener on our internal ma_Player object.
If you would call "IsSoundFile()" on this instance, he would call us back and
@@ -340,7 +340,7 @@ void SAL_CALL SoundHandler::dispatch( const css::util::URL&
*//*-*************************************************************************************************************/
OUString SAL_CALL SoundHandler::detect( css::uno::Sequence< css::beans::PropertyValue >& lDescriptor ) throw( css::uno::RuntimeException )
{
- // Our default is "nothing". So we can return it, if detection failed or fily type is realy unknown.
+ // Our default is "nothing". So we can return it, if detection failed or file type is really unknown.
OUString sTypeName;
// Analyze given descriptor to find filename or input stream or ...
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx
index 201c2ef3d3f0..17fffe0ec595 100644
--- a/avmedia/source/gstreamer/gstplayer.cxx
+++ b/avmedia/source/gstreamer/gstplayer.cxx
@@ -345,7 +345,7 @@ void Player::preparePlaybin( const OUString& rURL, GstElement *pSink )
}
mpPlaybin = gst_element_factory_make( "playbin", NULL );
- if( pSink != NULL ) // used for getting prefered size etc.
+ if( pSink != NULL ) // used for getting preferred size etc.
{
g_object_set( G_OBJECT( mpPlaybin ), "video-sink", pSink, NULL );
mbFakeVideo = true;