From 8eac0482fdebf7bd8874daa18d9ca0bd4e6a6901 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Thu, 4 Jun 2009 16:29:31 +0100 Subject: mpegdemux: Add a GST_MEMDUMP line in the descriptor parsing Make it possible to see descriptor contents in the debug output (GST_DEBUG=mpegtsdesc:9), and remove a stray semi-colon. --- gst/mpegdemux/gstmpegdesc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/mpegdemux/gstmpegdesc.c b/gst/mpegdemux/gstmpegdesc.c index 4c88e1fd6..0a9858975 100644 --- a/gst/mpegdemux/gstmpegdesc.c +++ b/gst/mpegdemux/gstmpegdesc.c @@ -65,7 +65,9 @@ gst_mpeg_descriptor_parse_1 (guint8 * data, guint size) if (length > size) return 0; - return length + 2;; + GST_MEMDUMP ("tag contents:", data, length); + + return length + 2; } GstMPEGDescriptor * -- cgit v1.2.3