mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
playbin3: Remove unused variable
The lock is never used
This commit is contained in:
parent
1717e33da5
commit
fa9adbe986
1 changed files with 0 additions and 3 deletions
|
@ -355,7 +355,6 @@ struct _GstSourceGroup
|
||||||
|
|
||||||
gulong block_id;
|
gulong block_id;
|
||||||
|
|
||||||
GMutex stream_changed_pending_lock;
|
|
||||||
gboolean stream_changed_pending;
|
gboolean stream_changed_pending;
|
||||||
|
|
||||||
/* buffering message stored for after switching */
|
/* buffering message stored for after switching */
|
||||||
|
@ -1186,7 +1185,6 @@ init_group (GstPlayBin3 * playbin, GstSourceGroup * group)
|
||||||
g_mutex_init (&group->lock);
|
g_mutex_init (&group->lock);
|
||||||
|
|
||||||
group->stream_changed_pending = FALSE;
|
group->stream_changed_pending = FALSE;
|
||||||
g_mutex_init (&group->stream_changed_pending_lock);
|
|
||||||
|
|
||||||
group->playbin = playbin;
|
group->playbin = playbin;
|
||||||
}
|
}
|
||||||
|
@ -1199,7 +1197,6 @@ free_group (GstPlayBin3 * playbin, GstSourceGroup * group)
|
||||||
|
|
||||||
g_mutex_clear (&group->lock);
|
g_mutex_clear (&group->lock);
|
||||||
group->stream_changed_pending = FALSE;
|
group->stream_changed_pending = FALSE;
|
||||||
g_mutex_clear (&group->stream_changed_pending_lock);
|
|
||||||
|
|
||||||
if (group->pending_buffering_msg)
|
if (group->pending_buffering_msg)
|
||||||
gst_message_unref (group->pending_buffering_msg);
|
gst_message_unref (group->pending_buffering_msg);
|
||||||
|
|
Loading…
Reference in a new issue