mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
gst: ref/unref new enum types in gst_init/deinit
https://bugzilla.gnome.org/show_bug.cgi?id=760767
This commit is contained in:
parent
7db9429e9c
commit
843d120c2f
1 changed files with 4 additions and 0 deletions
|
@ -618,6 +618,8 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
|
|||
g_type_class_ref (gst_state_change_return_get_type ());
|
||||
g_type_class_ref (gst_state_change_get_type ());
|
||||
g_type_class_ref (gst_element_flags_get_type ());
|
||||
g_type_class_ref (gst_tracer_value_scope_get_type ());
|
||||
g_type_class_ref (gst_tracer_value_flags_get_type ());
|
||||
g_type_class_ref (gst_core_error_get_type ());
|
||||
g_type_class_ref (gst_library_error_get_type ());
|
||||
g_type_class_ref (gst_resource_error_get_type ());
|
||||
|
@ -1018,6 +1020,8 @@ gst_deinit (void)
|
|||
g_type_class_unref (g_type_class_peek (gst_state_change_return_get_type ()));
|
||||
g_type_class_unref (g_type_class_peek (gst_state_change_get_type ()));
|
||||
g_type_class_unref (g_type_class_peek (gst_element_flags_get_type ()));
|
||||
g_type_class_unref (g_type_class_peek (gst_tracer_value_scope_get_type ()));
|
||||
g_type_class_unref (g_type_class_peek (gst_tracer_value_flags_get_type ()));
|
||||
g_type_class_unref (g_type_class_peek (gst_core_error_get_type ()));
|
||||
g_type_class_unref (g_type_class_peek (gst_library_error_get_type ()));
|
||||
g_type_class_unref (g_type_class_peek (gst_plugin_dependency_flags_get_type
|
||||
|
|
Loading…
Reference in a new issue