gst: ref/unref taglist scope enum in gst_init()
authorTim-Philipp Müller <tim@centricular.net>
Fri, 3 Aug 2012 22:54:33 +0000 (23:54 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 3 Aug 2012 22:54:33 +0000 (23:54 +0100)
Fixes make check and distcheck

gst/gst.c

index ece27f2..b19bac0 100644 (file)
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -711,6 +711,7 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
   g_type_class_ref (gst_structure_change_type_get_type ());
   g_type_class_ref (gst_tag_merge_mode_get_type ());
   g_type_class_ref (gst_tag_flag_get_type ());
+  g_type_class_ref (gst_tag_scope_get_type ());
   g_type_class_ref (gst_task_pool_get_type ());
   g_type_class_ref (gst_task_state_get_type ());
   g_type_class_ref (gst_toc_entry_type_get_type ());
@@ -1082,6 +1083,7 @@ gst_deinit (void)
   g_type_class_unref (g_type_class_peek (gst_buffering_mode_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_tag_merge_mode_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_tag_flag_get_type ()));
+  g_type_class_unref (g_type_class_peek (gst_tag_scope_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_task_state_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_toc_entry_type_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_toc_scope_get_type ()));