mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
dashdemux: use push_force when adding events to the dataqueue
This prevents deadlocks on startup on files that have only a very large buffer for a stream and the queue is filled and will lock on the eos event that is pushed after the buffer. As no buffers have yet been pushed to other streams, the pipeline locks on preroll
This commit is contained in:
parent
e5ebd7d846
commit
2db211e243
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ gst_dash_demux_stream_push_event (GstDashDemuxStream * stream, GstEvent * event)
|
|||
item->object = GST_MINI_OBJECT_CAST (event);
|
||||
item->destroy = (GDestroyNotify) _data_queue_item_destroy;
|
||||
|
||||
gst_data_queue_push (stream->queue, item);
|
||||
gst_data_queue_push_force (stream->queue, item);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue