summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-06-04 16:29:31 +0100
committerJan Schmidt <thaytan@noraisin.net>2009-06-04 16:29:31 +0100
commit8eac0482fdebf7bd8874daa18d9ca0bd4e6a6901 (patch)
tree1e5604119d1652d9b73a5382e37d50f5923e2915 /gst
parentb8eb0d5dbbd292a32e0726249d8b3e9aea91ca3e (diff)
downloadgst-plugins-bad-8eac0482fdebf7bd8874daa18d9ca0bd4e6a6901.tar.gz
gst-plugins-bad-8eac0482fdebf7bd8874daa18d9ca0bd4e6a6901.tar.bz2
gst-plugins-bad-8eac0482fdebf7bd8874daa18d9ca0bd4e6a6901.zip
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.
Diffstat (limited to 'gst')
-rw-r--r--gst/mpegdemux/gstmpegdesc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/mpegdemux/gstmpegdesc.c b/gst/mpegdemux/gstmpegdesc.c
index 4c88e1fd..0a985897 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 *