From 2db211e24392f50c5579ce2e80d84e3a12134c25 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Thu, 8 Aug 2013 13:32:02 -0300 Subject: 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 --- ext/dash/gstdashdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index e2b746ef4..8d8ce691f 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -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 -- cgit v1.2.1