summaryrefslogtreecommitdiff
path: root/gst-libs/gst/mpegts/gst-dvb-descriptor.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/mpegts/gst-dvb-descriptor.c')
-rw-r--r--gst-libs/gst/mpegts/gst-dvb-descriptor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/mpegts/gst-dvb-descriptor.c b/gst-libs/gst/mpegts/gst-dvb-descriptor.c
index 0dbdb625f..01125458d 100644
--- a/gst-libs/gst/mpegts/gst-dvb-descriptor.c
+++ b/gst-libs/gst/mpegts/gst-dvb-descriptor.c
@@ -941,6 +941,7 @@ gst_mpegts_descriptor_parse_dvb_extended_event (const GstMpegTsDescriptor
data += 1;
memcpy (res->language_code, data, 3);
+ res->language_code[3] = 0;
data += 3;