gst: ref/unref new enum types in gst_init/deinit
authorVineeth TM <vineeth.tm@samsung.com>
Mon, 18 Jan 2016 01:13:02 +0000 (10:13 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 18 Jan 2016 07:11:00 +0000 (09:11 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=760767

gst/gst.c

index f42a879..83b82d1 100644 (file)
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -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