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:
Thiago Santos 2013-08-08 13:32:02 -03:00
parent e5ebd7d846
commit 2db211e243

View file

@ -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