mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
dashdemux: remove unused mutexes
This commit is contained in:
parent
737d328bb5
commit
c82606a600
2 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue