summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2013-07-03 18:44:54 +0200
committerEdward Hervey <edward@collabora.com>2013-07-03 18:44:54 +0200
commit6a611e5d3d822730361ac68f52e0a94c0f7e1fdf (patch)
tree1402adba29777d6dab24a8b0060d3b06ee24ec1c /gst-libs
parent61a8cbae41843c8ab83eca4bf1211eeae98aed1b (diff)
downloadgstreamer-plugins-bad-6a611e5d3d822730361ac68f52e0a94c0f7e1fdf.tar.gz
mpegts: Fix TOT section parsing
And use it in example
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/mpegts/gst-dvb-section.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/mpegts/gst-dvb-section.c b/gst-libs/gst/mpegts/gst-dvb-section.c
index 7626caf25..fe3d09f43 100644
--- a/gst-libs/gst/mpegts/gst-dvb-section.c
+++ b/gst-libs/gst/mpegts/gst-dvb-section.c
@@ -739,6 +739,7 @@ _parse_tot (GstMpegTsSection * section)
data = section->data + 8;
desc_len = GST_READ_UINT16_BE (data) & 0xFFF;
+ data += 2;
tot->descriptors = gst_mpegts_parse_descriptors (data, desc_len);
return tot;