mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
urisourcebin: Remove unused lock/list
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2784>
This commit is contained in:
parent
638633dea3
commit
c8b9a7d640
1 changed files with 0 additions and 10 deletions
|
@ -135,10 +135,6 @@ struct _GstURISourceBin
|
|||
|
||||
GMutex lock; /* lock for constructing */
|
||||
|
||||
GMutex factories_lock;
|
||||
guint32 factories_cookie;
|
||||
GList *factories; /* factories we can use for selecting elements */
|
||||
|
||||
gchar *uri;
|
||||
guint64 connection_speed;
|
||||
|
||||
|
@ -476,9 +472,6 @@ gst_uri_source_bin_class_init (GstURISourceBinClass * klass)
|
|||
static void
|
||||
gst_uri_source_bin_init (GstURISourceBin * urisrc)
|
||||
{
|
||||
/* first filter out the interesting element factories */
|
||||
g_mutex_init (&urisrc->factories_lock);
|
||||
|
||||
g_mutex_init (&urisrc->lock);
|
||||
|
||||
g_mutex_init (&urisrc->buffering_lock);
|
||||
|
@ -511,12 +504,9 @@ gst_uri_source_bin_finalize (GObject * obj)
|
|||
|
||||
remove_demuxer (urisrc);
|
||||
g_mutex_clear (&urisrc->lock);
|
||||
g_mutex_clear (&urisrc->factories_lock);
|
||||
g_mutex_clear (&urisrc->buffering_lock);
|
||||
g_mutex_clear (&urisrc->buffering_post_lock);
|
||||
g_free (urisrc->uri);
|
||||
if (urisrc->factories)
|
||||
gst_plugin_feature_list_free (urisrc->factories);
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->finalize (obj);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue