diff options
author | Stefan Ringel <linuxtv@stefanringel.de> | 2014-05-28 16:47:53 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2014-05-29 14:29:15 +0200 |
commit | 6a622a678e113fc6f560ff562468ab840e310659 (patch) | |
tree | 873f7606259c7586d70746e73b940f74c9ed99bd /gst-libs/gst/mpegts | |
parent | ac88f31ac78df7597fb8c46550a8e7245b0e6837 (diff) | |
download | gstreamer-plugins-bad-6a622a678e113fc6f560ff562468ab840e310659.tar.gz |
example: ts-parser: add parential rating descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=730854
Diffstat (limited to 'gst-libs/gst/mpegts')
-rw-r--r-- | gst-libs/gst/mpegts/gst-dvb-descriptor.c | 1 |
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 7a2332a29..2874e86d1 100644 --- a/gst-libs/gst/mpegts/gst-dvb-descriptor.c +++ b/gst-libs/gst/mpegts/gst-dvb-descriptor.c @@ -1166,6 +1166,7 @@ gst_mpegts_descriptor_parse_dvb_parental_rating (const GstMpegTsDescriptor g_ptr_array_add (*rating, item); memcpy (item->country_code, data, 3); + item->country_code[3] = 0; data += 3; if (g_strcmp0 (item->country_code, "BRA") == 0) { |