diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-09-24 08:56:36 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-09-24 14:06:31 +0100 |
commit | c0bd590ce31a13b291710bf3cc850dc38aaf822a (patch) | |
tree | aae446bad2d9189ce3bf28ded91cdbfed16b2e75 | |
parent | bd8d80a8e4df1da1f9acd6b4d1e32fdc18f7218b (diff) |
soup: init debug category before using it
-rw-r--r-- | ext/soup/gstsouphttpsrc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/soup/gstsouphttpsrc.c b/ext/soup/gstsouphttpsrc.c index efb67c0bc..236d87b45 100644 --- a/ext/soup/gstsouphttpsrc.c +++ b/ext/soup/gstsouphttpsrc.c @@ -302,9 +302,6 @@ gst_soup_http_src_class_init (GstSoupHTTPSrcClass * klass) gstbasesrc_class->do_seek = GST_DEBUG_FUNCPTR (gst_soup_http_src_do_seek); gstpushsrc_class->create = GST_DEBUG_FUNCPTR (gst_soup_http_src_create); - - GST_DEBUG_CATEGORY_INIT (souphttpsrc_debug, "souphttpsrc", 0, - "SOUP HTTP Client Source"); } static void @@ -1446,6 +1443,9 @@ gst_soup_http_src_uri_handler_init (gpointer g_iface, gpointer iface_data) static gboolean plugin_init (GstPlugin * plugin) { + GST_DEBUG_CATEGORY_INIT (souphttpsrc_debug, "souphttpsrc", 0, + "SOUP HTTP Client Source"); + #ifdef ENABLE_NLS GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE, LOCALEDIR); |