dashdemux: remove unused mutexes
authorThiago Santos <thiago.sousa.santos@collabora.com>
Mon, 18 Feb 2013 17:01:27 +0000 (14:01 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Wed, 8 May 2013 21:14:41 +0000 (18:14 -0300)
ext/dash/gstdashdemux.c
ext/dash/gstdashdemux.h

index a699d3f..db0d809 100644 (file)
@@ -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);
 }
index fb2c790..f034b08 100644 (file)
@@ -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;