From 4c59f7df4caef43e04a53ac525b3ad54dd89d1b5 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Mon, 12 May 2014 13:28:35 -0300 Subject: [PATCH] dashdemux: initialize the mutex and cond for fragment download --- ext/dash/gstdashdemux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index 0daa56343e..02c4b62542 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -716,6 +716,8 @@ gst_dash_demux_setup_all_streams (GstDashDemux * demux) stream->index = i; stream->input_caps = caps; stream->need_header = TRUE; + g_cond_init (&stream->fragment_download_cond); + g_mutex_init (&stream->fragment_download_lock); GST_LOG_OBJECT (demux, "Creating stream %d %" GST_PTR_FORMAT, i, caps); streams = g_slist_prepend (streams, stream);