summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2011-06-06 11:21:23 +0200
committerEdward Hervey <edward.hervey@collabora.co.uk>2011-06-06 11:21:23 +0200
commitba8c8bb2c8405e8b1dab3f70b19cd368b5b8c978 (patch)
tree4fcbb111973ddf8bfe21a4789ef9500660938bfc
parent69800aa307abe2d3ea7cca403f8feca26ba477e3 (diff)
gst: Add enum/flags (de)registration in gst_(de)init
-rw-r--r--gst/gst.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/gst.c b/gst/gst.c
index dccf4d260..93f756e5a 100644
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -755,6 +755,8 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
g_type_class_ref (gst_memory_flags_get_type ());
g_type_class_ref (gst_map_flags_get_type ());
g_type_class_ref (gst_caps_intersect_mode_get_type ());
+ g_type_class_ref (gst_probe_type_get_type ());
+ g_type_class_ref (gst_probe_return_get_type ());
_gst_event_initialize ();
_gst_buffer_initialize ();
@@ -1122,6 +1124,8 @@ gst_deinit (void)
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 ()));
g_type_class_unref (g_type_class_peek (gst_caps_intersect_mode_get_type ()));
+ g_type_class_unref (g_type_class_peek (gst_probe_type_get_type ()));
+ g_type_class_unref (g_type_class_peek (gst_probe_return_get_type ()));
gst_deinitialized = TRUE;
GST_INFO ("deinitialized GStreamer");