1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Changed the country code in the generated ParentalRatingDescriptor from 'DEU' to '902' to make it valid for all countries

This commit is contained in:
Klaus Schmidinger 2020-06-22 12:15:52 +02:00
parent 5d39daa13c
commit 1dabb9b8c5
3 changed files with 8 additions and 4 deletions

View File

@ -3602,6 +3602,8 @@ Helmut Binder <cco@aon.at>
for adding support for detecting new channels broadcast in HEVC for adding support for detecting new channels broadcast in HEVC
for adding support for detecting 'advanced codec digital radio sound service' for adding support for detecting 'advanced codec digital radio sound service'
for adding handling shared PMT pids and multiple PMT sections 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> Ulrich Eckhardt <uli@uli-eckhardt.de>
for reporting a problem with shutdown after user inactivity in case a plugin is for reporting a problem with shutdown after user inactivity in case a plugin is

View File

@ -9475,3 +9475,5 @@ Video Disk Recorder Revision History
- Added support for detecting 'advanced codec digital radio sound service' (thanks to - Added support for detecting 'advanced codec digital radio sound service' (thanks to
Helmut Binder). Helmut Binder).
- Added handling shared PMT pids and multiple PMT sections (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).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "remux.h"
@ -962,9 +962,9 @@ uchar *cEitGenerator::AddParentalRatingDescriptor(uchar *p, uchar ParentalRating
{ {
*p++ = SI::ParentalRatingDescriptorTag; *p++ = SI::ParentalRatingDescriptorTag;
*p++ = 0x04; // descriptor length *p++ = 0x04; // descriptor length
*p++ = 'D'; // country code *p++ = '9'; // country code "902" ("All countries") -> EN 300 468 / 6.2.28; www.dvbservices.com/country_codes/index.php
*p++ = 'E'; *p++ = '0';
*p++ = 'U'; *p++ = '2';
*p++ = ParentalRating; *p++ = ParentalRating;
return p; return p;
} }