From ddc5654b60c66486f97676f0c9e8ff5c84f60e21 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Tue, 6 Oct 2015 18:49:46 +0200 Subject: [PATCH] tracer: mark GstTracerQuarkId as non GEnum This reverts 72ca02b1de4066eeae35c891e275386770117778 and marks the enum accordingly. --- gst/gst.c | 2 -- gst/gsttracerutils.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gst/gst.c b/gst/gst.c index 2a82d4f81b..29d737eb46 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -677,7 +677,6 @@ 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_tracer_quark_id_get_type ()); _priv_gst_event_initialize (); _priv_gst_buffer_initialize (); @@ -1084,7 +1083,6 @@ 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_tracer_quark_id_get_type ())); gst_deinitialized = TRUE; GST_INFO ("deinitialized GStreamer"); diff --git a/gst/gsttracerutils.h b/gst/gsttracerutils.h index ea3fa7e677..b41bbf8ed3 100644 --- a/gst/gsttracerutils.h +++ b/gst/gsttracerutils.h @@ -45,7 +45,7 @@ gboolean gst_tracer_register (GstPlugin * plugin, const gchar * name, GType type /* These enums need to match the number and order * of strings declared in _quark_table, in gsttracerutils.c */ -typedef enum _GstTracerQuarkId +typedef enum /*< skip >*/ { GST_TRACER_QUARK_HOOK_PAD_PUSH_PRE = 0, GST_TRACER_QUARK_HOOK_PAD_PUSH_POST,