summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.com>2013-08-08 13:32:02 -0300
committerThiago Santos <thiago.sousa.santos@collabora.com>2013-08-13 11:49:54 -0300
commit2db211e24392f50c5579ce2e80d84e3a12134c25 (patch)
treed1eef072070ad84f5cc1f2c3626f854e02c16a97 /ext
parente5ebd7d846a296f6018cf2af32fd229a4a05f424 (diff)
downloadgstreamer-plugins-bad-2db211e24392f50c5579ce2e80d84e3a12134c25.tar.gz
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
Diffstat (limited to 'ext')
-rw-r--r--ext/dash/gstdashdemux.c2
1 files changed, 1 insertions, 1 deletions
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