mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
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:
parent
71fa8f945b
commit
043c1888f3
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue