From fd9c328260556b96039d681c4083d079ff1756c7 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 10 Apr 2012 12:49:04 +0200 Subject: gst: add toc entry ref/unref --- gst/gst.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/gst.c b/gst/gst.c index 8582650903..4875b13f29 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -756,6 +756,7 @@ 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_caps_intersect_mode_get_type ()); + g_type_class_ref (gst_toc_entry_type_get_type ()); gst_structure_get_type (); _gst_value_initialize (); @@ -1125,6 +1126,7 @@ 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_caps_intersect_mode_get_type ())); + g_type_class_unref (g_type_class_peek (gst_toc_entry_type_get_type ())); gst_deinitialized = TRUE; GST_INFO ("deinitialized GStreamer"); -- cgit v1.2.1