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
This commit is contained in:
Sebastian Dröge 2013-07-10 13:00:21 +02:00
parent 71fa8f945b
commit 043c1888f3

View 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;