From: Edward Hervey Date: Tue, 11 Sep 2012 14:27:24 +0000 (+0200) Subject: streamsynchronizer: Don't wait on non-time streams X-Git-Tag: 1.19.3~511^2~5905 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b5090d2acaa736b20941b94cc248b006df6a7cf8;p=platform%2Fupstream%2Fgstreamer.git streamsynchronizer: Don't wait on non-time streams streams with non-TIME segments will not have timestamps ... ... and therefore will never unblock the other streams. Fixes blocking issue when using playbin suburi feature --- diff --git a/gst/playback/gststreamsynchronizer.c b/gst/playback/gststreamsynchronizer.c index bd09a23..7a71ffa 100644 --- a/gst/playback/gststreamsynchronizer.c +++ b/gst/playback/gststreamsynchronizer.c @@ -356,6 +356,9 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent, GST_WARNING_OBJECT (pad, "Non-TIME segment: %s", gst_format_get_name (segment.format)); gst_segment_init (&stream->segment, GST_FORMAT_UNDEFINED); + /* Since this stream is not time-based, we mark it so that + * other streams don't wait forever on it */ + stream->wait = TRUE; } GST_STREAM_SYNCHRONIZER_UNLOCK (self); break;