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.
This commit is contained in:
Tim-Philipp Müller 2007-07-23 10:41:18 +00:00
parent 0776d87e32
commit 2271ec928f
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2007-07-23 Tim-Philipp Müller <tim at centricular dot net>
* gst/playback/gsturidecodebin.c:
Init debug category before using it.
2007-07-21 Jan Schmidt <thaytan@noraisin.net>
* gst-libs/gst/interfaces/mixer.h:

View file

@ -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);