gst: init new flags type in gst_init()
authorTim-Philipp Müller <tim@centricular.com>
Mon, 12 Dec 2016 20:55:31 +0000 (20:55 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 12 Dec 2016 20:55:31 +0000 (20:55 +0000)
Fix 'make check' some more.

gst/gst.c

index 3cf067e..8e75e67 100644 (file)
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -690,6 +690,7 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
   g_type_class_ref (gst_allocator_flags_get_type ());
   g_type_class_ref (gst_stream_flags_get_type ());
   g_type_class_ref (gst_stream_type_get_type ());
+  g_type_class_ref (gst_stack_trace_flags_get_type ());
 
   _priv_gst_event_initialize ();
   _priv_gst_buffer_initialize ();
@@ -1137,6 +1138,7 @@ gst_deinit (void)
   g_type_class_unref (g_type_class_peek (gst_allocator_flags_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_stream_flags_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_debug_color_mode_get_type ()));
+  g_type_class_unref (g_type_class_peek (gst_stack_trace_flags_get_type ()));
 
   gst_deinitialized = TRUE;
   GST_INFO ("deinitialized GStreamer");