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
@ -375,14 +375,10 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent,
|
|||||||
gst_event_unref (event);
|
gst_event_unref (event);
|
||||||
event = tmpev;
|
event = tmpev;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (stream) {
|
} else if (stream) {
|
||||||
GST_WARNING_OBJECT (pad, "Non-TIME segment: %s",
|
GST_WARNING_OBJECT (pad, "Non-TIME segment: %s",
|
||||||
gst_format_get_name (segment.format));
|
gst_format_get_name (segment.format));
|
||||||
gst_segment_init (&stream->segment, GST_FORMAT_UNDEFINED);
|
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);
|
GST_STREAM_SYNCHRONIZER_UNLOCK (self);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user