From 5f4f24fb76e69781c7a35d8b51378446e5b01590 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Fri, 5 Feb 2010 10:16:27 +0100 Subject: [PATCH] metadata: use a non-DEFAULT proper debug category in helper files --- ext/metadata/gstmetadatademux.c | 2 +- ext/metadata/gstmetadatamux.c | 2 +- ext/metadata/metadatamuxjpeg.c | 3 +++ ext/metadata/metadatamuxpng.c | 3 +++ ext/metadata/metadataparsejpeg.c | 3 +++ ext/metadata/metadataparsepng.c | 3 +++ ext/metadata/metadataparseutil.c | 3 +++ 7 files changed, 17 insertions(+), 2 deletions(-) diff --git a/ext/metadata/gstmetadatademux.c b/ext/metadata/gstmetadatademux.c index b552b19e19..5978a0a957 100644 --- a/ext/metadata/gstmetadatademux.c +++ b/ext/metadata/gstmetadatademux.c @@ -129,7 +129,7 @@ enum */ -GST_DEBUG_CATEGORY_STATIC (gst_metadata_demux_debug); +GST_DEBUG_CATEGORY (gst_metadata_demux_debug); #define GST_CAT_DEFAULT gst_metadata_demux_debug #define GOTO_DONE_IF_NULL(ptr) \ diff --git a/ext/metadata/gstmetadatamux.c b/ext/metadata/gstmetadatamux.c index e28d2db9f7..218afa6745 100644 --- a/ext/metadata/gstmetadatamux.c +++ b/ext/metadata/gstmetadatamux.c @@ -111,7 +111,7 @@ enum */ -GST_DEBUG_CATEGORY_STATIC (gst_metadata_mux_debug); +GST_DEBUG_CATEGORY (gst_metadata_mux_debug); #define GST_CAT_DEFAULT gst_metadata_mux_debug #define GOTO_DONE_IF_NULL(ptr) \ diff --git a/ext/metadata/metadatamuxjpeg.c b/ext/metadata/metadatamuxjpeg.c index 6f4a73330b..ef258dbf69 100644 --- a/ext/metadata/metadatamuxjpeg.c +++ b/ext/metadata/metadatamuxjpeg.c @@ -85,6 +85,9 @@ #include #endif +GST_DEBUG_CATEGORY_EXTERN (gst_metadata_mux_debug); +#define GST_CAT_DEFAULT gst_metadata_mux_debug + /* * defines and macros */ diff --git a/ext/metadata/metadatamuxpng.c b/ext/metadata/metadatamuxpng.c index 5033b684d0..68904f6a75 100644 --- a/ext/metadata/metadatamuxpng.c +++ b/ext/metadata/metadatamuxpng.c @@ -80,6 +80,9 @@ #include +GST_DEBUG_CATEGORY_EXTERN (gst_metadata_mux_debug); +#define GST_CAT_DEFAULT gst_metadata_mux_debug + /* * defines and macros */ diff --git a/ext/metadata/metadataparsejpeg.c b/ext/metadata/metadataparsejpeg.c index 0fe520174a..9c2f032dea 100644 --- a/ext/metadata/metadataparsejpeg.c +++ b/ext/metadata/metadataparsejpeg.c @@ -90,6 +90,9 @@ #include "metadataiptc.h" #endif +GST_DEBUG_CATEGORY_EXTERN (gst_metadata_demux_debug); +#define GST_CAT_DEFAULT gst_metadata_demux_debug + /* * defines and macros */ diff --git a/ext/metadata/metadataparsepng.c b/ext/metadata/metadataparsepng.c index 45c8da4b9f..57afbc416d 100644 --- a/ext/metadata/metadataparsepng.c +++ b/ext/metadata/metadataparsepng.c @@ -70,6 +70,9 @@ #include +GST_DEBUG_CATEGORY_EXTERN (gst_metadata_demux_debug); +#define GST_CAT_DEFAULT gst_metadata_demux_debug + /* * defines and macros */ diff --git a/ext/metadata/metadataparseutil.c b/ext/metadata/metadataparseutil.c index 794d534a4f..185ad0affd 100644 --- a/ext/metadata/metadataparseutil.c +++ b/ext/metadata/metadataparseutil.c @@ -55,6 +55,9 @@ #include "metadataparseutil.h" #include +GST_DEBUG_CATEGORY_EXTERN (gst_metadata_demux_debug); +#define GST_CAT_DEFAULT gst_metadata_demux_debug + /* * extern functions implementations */