diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index a699d3f9f1..db0d809879 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -347,14 +347,12 @@ gst_dash_demux_init (GstDashDemux * demux, GstDashDemuxClass * klass) demux->download_task = gst_task_create ((GstTaskFunction) gst_dash_demux_download_loop, demux); gst_task_set_lock (demux->download_task, &demux->download_task_lock); - demux->download_timed_lock = g_mutex_new (); /* Streaming task */ g_static_rec_mutex_init (&demux->stream_task_lock); demux->stream_task = gst_task_create ((GstTaskFunction) gst_dash_demux_stream_loop, demux); gst_task_set_lock (demux->stream_task, &demux->stream_task_lock); - demux->stream_timed_lock = g_mutex_new (); g_static_mutex_init (&demux->streams_lock); } diff --git a/ext/dash/gstdashdemux.h b/ext/dash/gstdashdemux.h index fb2c790d4c..f034b085ec 100644 --- a/ext/dash/gstdashdemux.h +++ b/ext/dash/gstdashdemux.h @@ -127,13 +127,11 @@ struct _GstDashDemux /* Streaming task */ GstTask *stream_task; GStaticRecMutex stream_task_lock; - GMutex *stream_timed_lock; /* Download task */ GstTask *download_task; GStaticRecMutex download_task_lock; gboolean cancelled; - GMutex *download_timed_lock; /* Manifest update */ GstClockTime last_manifest_update;