gst: ref/unref new enum types in gst_init/deinit

https://bugzilla.gnome.org/show_bug.cgi?id=760767
This commit is contained in:
Vineeth TM 2016-01-18 10:13:02 +09:00 committed by Sebastian Dröge
parent 7db9429e9c
commit 843d120c2f

View file

@ -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