diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-03-10 14:05:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-03-10 14:06:33 +0000 |
commit | 702790258c6b3ec05ce04f7c2839a48776381535 (patch) | |
tree | 4527bb9f213d6726dc667e7faf89cae786f04382 /avmedia | |
parent | 69ac605191860aceee09f1147a5234222d1b3300 (diff) |
fix for 10 sec hang with audio-only formats with gstreamer1
just do the same as we did for gstreamer 0.10 and set the
size found condition once we get the message even if there is no size
Change-Id: I826d76dd1097432e5bd33d4acc1a187b8e5068da
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/gstreamer/gstplayer.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx index 8881b7d7a37c..b3a9c05639e6 100644 --- a/avmedia/source/gstreamer/gstplayer.cxx +++ b/avmedia/source/gstreamer/gstplayer.cxx @@ -567,11 +567,12 @@ GstBusSyncReply Player::processSyncMessage( GstMessage *message ) SAL_INFO( "avmedia.gstreamer", AVVERSION "queried size: " << mnWidth << "x" << mnHeight ); - maSizeCondition.set(); } gst_caps_unref( caps ); g_object_unref( pad ); } + + maSizeCondition.set(); } #endif // AVMEDIA_GST_0_10 } else if (gst_is_missing_plugin_message(message)) { |