From: Jan Schmidt Date: Tue, 11 Oct 2022 15:14:32 +0000 (+1100) Subject: adaptivedemux2: Remove scheduler_lock mutex X-Git-Tag: 1.22.0~605 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9de81edd4891881a2136e9e9d72138c17b20896;p=platform%2Fupstream%2Fgstreamer.git adaptivedemux2: Remove scheduler_lock mutex Remove the old unused scheduler_lock Part-of: --- 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 */