gst: add toc entry ref/unref
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 10 Apr 2012 10:49:04 +0000 (12:49 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 10 Apr 2012 10:49:04 +0000 (12:49 +0200)
gst/gst.c

index 8582650..4875b13 100644 (file)
--- 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");