dashdemux: initialize the mutex and cond for fragment download
This commit is contained in:
parent
d93cd25e2d
commit
4c59f7df4c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user