diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2020-06-22 12:15:52 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2020-06-22 12:15:52 +0200 |
commit | 1dabb9b8c5db4752b61e537c20d951fc24507455 (patch) | |
tree | 1f5d5afee2ac002d8cdc9af3298472318a6efc87 | |
parent | 5d39daa13c8b436a08a86cf25fb2faef4f959f4e (diff) | |
download | vdr-1dabb9b8c5db4752b61e537c20d951fc24507455.tar.gz vdr-1dabb9b8c5db4752b61e537c20d951fc24507455.tar.bz2 |
Changed the country code in the generated ParentalRatingDescriptor from 'DEU' to '902' to make it valid for all countries
-rw-r--r-- | CONTRIBUTORS | 2 | ||||
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | remux.c | 8 |
3 files changed, 8 insertions, 4 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 9934dbdb..712eaf0c 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -3602,6 +3602,8 @@ Helmut Binder <cco@aon.at> for adding support for detecting new channels broadcast in HEVC for adding support for detecting 'advanced codec digital radio sound service' for adding handling shared PMT pids and multiple PMT sections + for changing the country code in the generated ParentalRatingDescriptor from 'DEU' to + '902' to make it valid for all countries Ulrich Eckhardt <uli@uli-eckhardt.de> for reporting a problem with shutdown after user inactivity in case a plugin is @@ -9475,3 +9475,5 @@ Video Disk Recorder Revision History - Added support for detecting 'advanced codec digital radio sound service' (thanks to Helmut Binder). - Added handling shared PMT pids and multiple PMT sections (thanks to Helmut Binder). +- Changed the country code in the generated ParentalRatingDescriptor from 'DEU' to + '902' to make it valid for all countries (thanks to Helmut Binder). @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: remux.c 4.8 2019/03/15 10:14:35 kls Exp $ + * $Id: remux.c 4.9 2020/06/22 12:15:52 kls Exp $ */ #include "remux.h" @@ -962,9 +962,9 @@ uchar *cEitGenerator::AddParentalRatingDescriptor(uchar *p, uchar ParentalRating { *p++ = SI::ParentalRatingDescriptorTag; *p++ = 0x04; // descriptor length - *p++ = 'D'; // country code - *p++ = 'E'; - *p++ = 'U'; + *p++ = '9'; // country code "902" ("All countries") -> EN 300 468 / 6.2.28; www.dvbservices.com/country_codes/index.php + *p++ = '0'; + *p++ = '2'; *p++ = ParentalRating; return p; } |