gst: add class init
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 24 Mar 2011 20:21:00 +0000 (21:21 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 28 Mar 2011 18:08:46 +0000 (20:08 +0200)
gst/gst.c

index fe2b21cd10f0679626618356de4a8180ae906b19..1cc273ee014f06942c7201c9e389f64fd2f27c09 100644 (file)
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -752,6 +752,8 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
   g_type_class_ref (gst_search_mode_get_type ());
   g_type_class_ref (gst_progress_type_get_type ());
   g_type_class_ref (gst_buffer_pool_flags_get_type ());
+  g_type_class_ref (gst_memory_flags_get_type ());
+  g_type_class_ref (gst_map_flags_get_type ());
 
   gst_structure_get_type ();
   _gst_event_initialize ();
@@ -1117,6 +1119,8 @@ gst_deinit (void)
   g_type_class_unref (g_type_class_peek (gst_param_spec_fraction_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_progress_type_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_buffer_pool_flags_get_type ()));
+  g_type_class_unref (g_type_class_peek (gst_memory_flags_get_type ()));
+  g_type_class_unref (g_type_class_peek (gst_map_flags_get_type ()));
 
   gst_deinitialized = TRUE;
   GST_INFO ("deinitialized GStreamer");