avmedia/source/gstreamer/gstplayer.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 702790258c6b3ec05ce04f7c2839a48776381535
Author: Caolán McNamara <caol...@redhat.com>
Date:   Thu Mar 10 14:05:37 2016 +0000

    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

diff --git a/avmedia/source/gstreamer/gstplayer.cxx 
b/avmedia/source/gstreamer/gstplayer.cxx
index 8881b7d..b3a9c05 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)) {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to