dashdemux: remove unused mutexes

This commit is contained in:
Thiago Santos 2013-02-18 14:01:27 -03:00
parent 737d328bb5
commit c82606a600
2 changed files with 0 additions and 4 deletions

View 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);
}

View 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;