From 043c1888f33e0928e66da398fe5283493f4cae13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 10 Jul 2013 13:00:21 +0200 Subject: [PATCH] streamsynchronizer: Non-TIME segment streams are not waiting automatically This was leftover code from porting to 1.0 and fixes the playbin unit test. https://bugzilla.gnome.org/show_bug.cgi?id=701943 --- gst/playback/gststreamsynchronizer.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gst/playback/gststreamsynchronizer.c b/gst/playback/gststreamsynchronizer.c index 1044536b53..a5eb53037f 100644 --- a/gst/playback/gststreamsynchronizer.c +++ b/gst/playback/gststreamsynchronizer.c @@ -375,14 +375,10 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent, gst_event_unref (event); event = tmpev; } - } else if (stream) { 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;