From: Jan Schmidt Date: Thu, 4 Jun 2009 15:29:31 +0000 (+0100) Subject: mpegdemux: Add a GST_MEMDUMP line in the descriptor parsing X-Git-Tag: RELEASE-0.10.13~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8eac0482fdebf7bd8874daa18d9ca0bd4e6a6901;p=platform%2Fupstream%2Fgst-plugins-bad.git 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. --- 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 *