streamsynchronizer: Non-TIME segment streams are not waiting automatically
authorSebastian Dröge <slomo@circular-chaos.org>
Wed, 10 Jul 2013 11:00:21 +0000 (13:00 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Wed, 10 Jul 2013 11:00:21 +0000 (13:00 +0200)
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

index 1044536..a5eb530 100644 (file)
@@ -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;