[0.11] gstreamer: gst: ref new enum type in gst_init()

Tim Müller tpm at kemper.freedesktop.org
Sat Jan 28 10:51:15 PST 2012


Module: gstreamer
Branch: 0.11
Commit: e115c28ae4d4e09ebb55c0f6cc78c598ec43aa9b
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=e115c28ae4d4e09ebb55c0f6cc78c598ec43aa9b

Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Sat Jan 28 18:49:44 2012 +0000

gst: ref new enum type in gst_init()

---

 gst/gst.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gst/gst.c b/gst/gst.c
index af074b0..66ff1b2 100644
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -681,6 +681,7 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
   g_type_class_ref (gst_event_type_get_type ());
   g_type_class_ref (gst_seek_type_get_type ());
   g_type_class_ref (gst_seek_flags_get_type ());
+  g_type_class_ref (gst_stream_config_flags_get_type ());
   g_type_class_ref (gst_qos_type_get_type ());
   g_type_class_ref (gst_format_get_type ());
   g_type_class_ref (gst_debug_level_get_type ());
@@ -1037,6 +1038,7 @@ gst_deinit (void)
   g_type_class_unref (g_type_class_peek (gst_parse_flags_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_resource_error_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_search_mode_get_type ()));
+  g_type_class_unref (g_type_class_peek (gst_stream_config_flags_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_stream_error_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_stream_status_type_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_structure_change_type_get_type



More information about the gstreamer-commits mailing list