From c82606a6004ddb135814b4e289b6dde3499247f7 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Mon, 18 Feb 2013 14:01:27 -0300 Subject: [PATCH] dashdemux: remove unused mutexes --- ext/dash/gstdashdemux.c | 2 -- ext/dash/gstdashdemux.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index a699d3f..db0d809 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 fb2c790..f034b08 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; -- 2.7.4