From 173491585060900395853f750da3b940e789204c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 18 Mar 2015 16:27:36 +0000 Subject: [PATCH] gst: ref/unref new enum type in gst_init/deinit() --- gst/gst.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/gst.c b/gst/gst.c index cd91242408..8ae7f1d4f3 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -669,6 +669,7 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data, g_type_class_ref (gst_lock_flags_get_type ()); g_type_class_ref (gst_allocator_flags_get_type ()); g_type_class_ref (gst_stream_flags_get_type ()); + g_type_class_ref (gst_segment_result_get_type ()); _priv_gst_event_initialize (); _priv_gst_buffer_initialize (); @@ -1067,6 +1068,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_segment_result_get_type ())); gst_deinitialized = TRUE; GST_INFO ("deinitialized GStreamer");