Commit 8254a0ff authored by Luca Ognibene's avatar Luca Ognibene

ext/libpostproc/gstpostproc.*: fix debug output

Original commit message from CVS:
* ext/libpostproc/gstpostproc.c: (gst_ffmpeg_log_callback),
(plugin_init):
* ext/libpostproc/gstpostproc.h:
fix debug output
parent 2cfc4961
2005-06-25 Luca Ognibene <luogni@tin.it>
* ext/libpostproc/gstpostproc.c: (gst_ffmpeg_log_callback),
(plugin_init):
* ext/libpostproc/gstpostproc.h:
fix debug output
2005-06-25 Sebastien Cote <sc5@hermes.usherb.ca>
Reviewed by: Luca Ognibene <luogni@tin.it>
......
......@@ -110,8 +110,8 @@ GST_STATIC_PAD_TEMPLATE ("sink",
GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV("I420"))
);
GST_DEBUG_CATEGORY (postproc);
#define GST_CAT_DEFAULT postproc
GST_DEBUG_CATEGORY (postproc_debug);
#define GST_CAT_DEFAULT postproc_debug
static void gst_postproc_class_init (GstPostProcClass * klass);
static void gst_postproc_base_init (GstPostProcClass * klass);
......@@ -156,7 +156,7 @@ gst_ffmpeg_log_callback (void * ptr, int level, const char * fmt, va_list vl)
break;
}
gst_debug_log_valist (postproc, gst_level, "", "", 0, NULL, fmt, vl);
gst_debug_log_valist (postproc_debug, gst_level, "", "", 0, NULL, fmt, vl);
}
#endif
......@@ -503,7 +503,7 @@ gst_postproc_register(GstPlugin * plugin)
static gboolean
plugin_init (GstPlugin * plugin)
{
GST_DEBUG_CATEGORY_INIT (postproc, "postproc", 0, "video postprocessing elements");
GST_DEBUG_CATEGORY_INIT (postproc_debug, "postproc", 0, "video postprocessing elements");
#ifndef GST_DISABLE_GST_DEBUG
av_log_set_callback (gst_ffmpeg_log_callback);
#endif
......
......@@ -29,8 +29,8 @@
#include <gst/gst.h>
GST_DEBUG_CATEGORY_EXTERN (postproc);
#define GST_CAT_DEFAULT postproc
GST_DEBUG_CATEGORY_EXTERN (postproc_debug);
#define GST_CAT_DEFAULT postproc_debug
G_BEGIN_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment