summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2017-09-25 15:24:08 +0200
committerEdward Hervey <bilboed@bilboed.com>2018-02-10 12:17:38 +0100
commitfa9adbe9866d2b08ec6a0789b25fef380daf7bc7 (patch)
tree3f38c715cd1a21bb5b067eabf7aec4c0293437d1
parent1717e33da58abd5e71bf518195a10e9913ac7e78 (diff)
playbin3: Remove unused variable
The lock is never used
-rw-r--r--gst/playback/gstplaybin3.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gst/playback/gstplaybin3.c b/gst/playback/gstplaybin3.c
index a863afa87..a8f58f91b 100644
--- a/gst/playback/gstplaybin3.c
+++ b/gst/playback/gstplaybin3.c
@@ -355,7 +355,6 @@ struct _GstSourceGroup
gulong block_id;
- GMutex stream_changed_pending_lock;
gboolean stream_changed_pending;
/* buffering message stored for after switching */
@@ -1186,7 +1185,6 @@ init_group (GstPlayBin3 * playbin, GstSourceGroup * group)
g_mutex_init (&group->lock);
group->stream_changed_pending = FALSE;
- g_mutex_init (&group->stream_changed_pending_lock);
group->playbin = playbin;
}
@@ -1199,7 +1197,6 @@ free_group (GstPlayBin3 * playbin, GstSourceGroup * group)
g_mutex_clear (&group->lock);
group->stream_changed_pending = FALSE;
- g_mutex_clear (&group->stream_changed_pending_lock);
if (group->pending_buffering_msg)
gst_message_unref (group->pending_buffering_msg);