From: <th...@ke...> - 2009-06-04 15:31:21
|
Module: gst-plugins-bad Branch: master Commit: 8eac0482fdebf7bd8874daa18d9ca0bd4e6a6901 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=8eac0482fdebf7bd8874daa18d9ca0bd4e6a6901 Author: Jan Schmidt <th...@no...> Date: Thu Jun 4 16:29:31 2009 +0100 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 files changed, 3 insertions(+), 1 deletions(-) diff --git a/gst/mpegdemux/gstmpegdesc.c b/gst/mpegdemux/gstmpegdesc.c index 4c88e1f..0a98589 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 * |