summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Ognibene <luogni@tin.it>2005-06-25 21:19:33 +0000
committerLuca Ognibene <luogni@tin.it>2005-06-25 21:19:33 +0000
commit8254a0ff62bf5f89349076180679ff70a5ced6f8 (patch)
treebda8eda0ff09d8e455cdf6058ccaefbcc08f423e
parent2cfc4961efebe2ecb89444618571d3ee5e87718c (diff)
downloadgst-libav-8254a0ff62bf5f89349076180679ff70a5ced6f8.tar.gz
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
-rw-r--r--ChangeLog7
-rw-r--r--ext/libpostproc/gstpostproc.c8
-rw-r--r--ext/libpostproc/gstpostproc.h4
3 files changed, 13 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c65e21..2060aa5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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>
diff --git a/ext/libpostproc/gstpostproc.c b/ext/libpostproc/gstpostproc.c
index b8b7c54..5a23269 100644
--- a/ext/libpostproc/gstpostproc.c
+++ b/ext/libpostproc/gstpostproc.c
@@ -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
diff --git a/ext/libpostproc/gstpostproc.h b/ext/libpostproc/gstpostproc.h
index ed3cfe2..cf132cf 100644
--- a/ext/libpostproc/gstpostproc.h
+++ b/ext/libpostproc/gstpostproc.h
@@ -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