From c9de81edd4891881a2136e9e9d72138c17b20896 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 12 Oct 2022 02:14:32 +1100 Subject: [PATCH] adaptivedemux2: Remove scheduler_lock mutex Remove the old unused scheduler_lock Part-of: --- .../gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-private.h | 1 - subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-private.h b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-private.h index 17f8778..cc62325 100644 --- a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-private.h +++ b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-private.h @@ -73,7 +73,6 @@ struct _GstAdaptiveDemuxPrivate /* Adaptive scheduling and parsing task */ GstAdaptiveDemuxLoop *scheduler_task; - GMutex scheduler_lock; /* Callback / timer id for the next manifest update */ guint manifest_updates_cb; diff --git a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c index f154aee..261bf06 100644 --- a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c +++ b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c @@ -574,7 +574,6 @@ gst_adaptive_demux_init (GstAdaptiveDemux * demux, g_rec_mutex_init (&demux->priv->manifest_lock); demux->priv->scheduler_task = gst_adaptive_demux_loop_new (); - g_mutex_init (&demux->priv->scheduler_lock); g_mutex_init (&demux->priv->api_lock); g_mutex_init (&demux->priv->segment_lock); @@ -646,7 +645,6 @@ gst_adaptive_demux_finalize (GObject * object) g_mutex_clear (&demux->priv->buffering_lock); - g_mutex_clear (&demux->priv->scheduler_lock); gst_adaptive_demux_loop_unref (demux->priv->scheduler_task); /* The input period is present after a reset, clear it now */ -- 2.7.4