summaryrefslogtreecommitdiffstats
path: root/gst/mpegtsparse/gstmpegdesc.c
diff options
context:
space:
mode:
authorZaheer Abbas Merali <zaheerabbas@merali.org>2008-02-14 14:22:57 +0000
committerZaheer Abbas Merali <zaheerabbas@merali.org>2008-02-14 14:22:57 +0000
commit8ede0678be4921abd03bca7d68afb52844c7b8fa (patch)
tree88ac53997106c4e826eb70642d656caaa668efbc /gst/mpegtsparse/gstmpegdesc.c
parent3e6837ee1b6f5c20bd0d70eb106e0b573984db09 (diff)
downloadgst-plugins-bad-8ede0678be4921abd03bca7d68afb52844c7b8fa.tar.gz
gst-plugins-bad-8ede0678be4921abd03bca7d68afb52844c7b8fa.tar.bz2
gst-plugins-bad-8ede0678be4921abd03bca7d68afb52844c7b8fa.zip
gst/mpegtsparse/: Make sure the gstmpegdesc debug lines do not critical when GST_DEBUG is enabled and also actually o...
Original commit message from CVS: * gst/mpegtsparse/gstmpegdesc.c: * gst/mpegtsparse/gstmpegdesc.h: * gst/mpegtsparse/mpegtsparse.c: Make sure the gstmpegdesc debug lines do not critical when GST_DEBUG is enabled and also actually output. Thanks to Alessandro Decina for spotting. Fixes #516448
Diffstat (limited to 'gst/mpegtsparse/gstmpegdesc.c')
-rw-r--r--gst/mpegtsparse/gstmpegdesc.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/gst/mpegtsparse/gstmpegdesc.c b/gst/mpegtsparse/gstmpegdesc.c
index 9a4e1195..727b3e8a 100644
--- a/gst/mpegtsparse/gstmpegdesc.c
+++ b/gst/mpegtsparse/gstmpegdesc.c
@@ -35,8 +35,8 @@
#include "gstmpegdesc.h"
-GST_DEBUG_CATEGORY (gstflumpegdesc_debug);
-#define GST_CAT_DEFAULT (gstflumpegdesc_debug)
+GST_DEBUG_CATEGORY (gstmpegtsdesc_debug);
+#define GST_CAT_DEFAULT (gstmpegtsdesc_debug)
void
gst_mpeg_descriptor_free (GstMPEGDescriptor * desc)
@@ -196,3 +196,10 @@ gst_mpeg_descriptor_nth (GstMPEGDescriptor * desc, guint i)
}
return NULL;
}
+
+void
+gst_mpegtsdesc_init_debug ()
+{
+ GST_DEBUG_CATEGORY_INIT (gstmpegtsdesc_debug, "mpegtsdesc", 0,
+ "MPEG transport stream parser (descriptor)");
+}