mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
dashdemux: initialize the mutex and cond for fragment download
This commit is contained in:
parent
d93cd25e2d
commit
4c59f7df4c
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue