mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
streamsynchronizer: Don't wait on non-time streams
streams with non-TIME segments will not have timestamps ... ... and therefore will never unblock the other streams. Fixes blocking issue when using playbin suburi feature
This commit is contained in:
parent
cbb78eb610
commit
b5090d2aca
1 changed files with 3 additions and 0 deletions
|
@ -356,6 +356,9 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent,
|
|||
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