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

New commits:
commit 0a48ffb81c62f804d5c9d7f2dd1332385849d7ee
Author: Caolán McNamara <[email protected]>
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
    (cherry picked from commit 702790258c6b3ec05ce04f7c2839a48776381535)
    Reviewed-on: https://gerrit.libreoffice.org/23119
    Tested-by: Jenkins <[email protected]>
    Reviewed-by: David Tardon <[email protected]>

diff --git a/avmedia/source/gstreamer/gstplayer.cxx 
b/avmedia/source/gstreamer/gstplayer.cxx
index d12e8e9..b820ae1 100644
--- a/avmedia/source/gstreamer/gstplayer.cxx
+++ b/avmedia/source/gstreamer/gstplayer.cxx
@@ -549,11 +549,12 @@ GstBusSyncReply Player::processSyncMessage( GstMessage 
*message )
 
                     DBG( "queried size: %d x %d", mnWidth, mnHeight );
 
-                    maSizeCondition.set();
                 }
                 gst_caps_unref( caps );
                 g_object_unref( pad );
             }
+
+            maSizeCondition.set();
         }
 #endif
     } else if (gst_is_missing_plugin_message(message)) {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to