From 2271ec928f88016ea3efed4955f7b98808402dcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 23 Jul 2007 10:41:18 +0000 Subject: [PATCH] gst/playback/gsturidecodebin.c: Init debug category before using it. Original commit message from CVS: * gst/playback/gsturidecodebin.c: Init debug category before using it. --- ChangeLog | 5 +++++ gst/playback/gsturidecodebin.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 22cdc6cbdb..268e2e8b06 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-07-23 Tim-Philipp Müller + + * gst/playback/gsturidecodebin.c: + Init debug category before using it. + 2007-07-21 Jan Schmidt * gst-libs/gst/interfaces/mixer.h: diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index 27ee46fcad..4492237821 100644 --- a/gst/playback/gsturidecodebin.c +++ b/gst/playback/gsturidecodebin.c @@ -135,9 +135,6 @@ gst_uri_decode_bin_class_init (GstURIDecodeBinClass * klass) g_param_spec_string ("uri", "URI", "URI to decode", DEFAULT_PROP_URI, G_PARAM_READWRITE)); - GST_DEBUG_CATEGORY_INIT (gst_uri_decode_bin_debug, "uridecodebin", 0, - "URI decoder element"); - gstelement_class->query = GST_DEBUG_FUNCPTR (gst_uri_decode_bin_query); gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_uri_decode_bin_change_state); @@ -1131,6 +1128,9 @@ setup_failed: static gboolean plugin_init (GstPlugin * plugin) { + GST_DEBUG_CATEGORY_INIT (gst_uri_decode_bin_debug, "uridecodebin", 0, + "URI decoder element"); + #ifdef ENABLE_NLS GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE, LOCALEDIR);