mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
Make sure the hashtable is initialized when the object is used.
Original commit message from CVS: Make sure the hashtable is initialized when the object is used.
This commit is contained in:
parent
d61cbc8ea0
commit
2743ae0426
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,6 @@ static guint gst_dpman_process_noop(GstDParamManager *dpman, guint frame_count);
|
|||
void
|
||||
_gst_dpman_initialize()
|
||||
{
|
||||
_element_registry = g_hash_table_new(NULL,NULL);
|
||||
}
|
||||
|
||||
GType
|
||||
|
@ -83,6 +82,7 @@ gst_dpman_class_init (GstDParamManagerClass *klass)
|
|||
gst_dpman_register_mode (klass, "disabled",
|
||||
gst_dpman_preprocess_noop, gst_dpman_process_noop, NULL, NULL);
|
||||
|
||||
_element_registry = g_hash_table_new(NULL,NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue