streamsync: unblock gcond on flush-stop
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 4 Sep 2012 09:09:50 +0000 (11:09 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 4 Sep 2012 09:09:50 +0000 (11:09 +0200)
See https://bugzilla.gnome.org/show_bug.cgi?id=680441

gst/playback/gststreamsynchronizer.c

index d12a15b..14a7a77 100644 (file)
@@ -387,6 +387,7 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent,
         stream->new_stream = FALSE;
         stream->drop_discont = FALSE;
         stream->seen_data = FALSE;
+        g_cond_broadcast (&stream->stream_finish_cond);
       }
       GST_STREAM_SYNCHRONIZER_UNLOCK (self);
       break;