From 100a3799bbb0f522673bbb17175eba69d044544e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 24 Mar 2011 21:21:00 +0100 Subject: [PATCH] gst: add class init --- gst/gst.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst/gst.c b/gst/gst.c index fe2b21cd10..1cc273ee01 100644 --- 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");