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");