summaryrefslogtreecommitdiff
path: root/remux.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2020-06-22 12:15:52 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2020-06-22 12:15:52 +0200
commit1dabb9b8c5db4752b61e537c20d951fc24507455 (patch)
tree1f5d5afee2ac002d8cdc9af3298472318a6efc87 /remux.c
parent5d39daa13c8b436a08a86cf25fb2faef4f959f4e (diff)
downloadvdr-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
Diffstat (limited to 'remux.c')
-rw-r--r--remux.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/remux.c b/remux.c
index f778c91f..0bf41f36 100644
--- a/remux.c
+++ b/remux.c
@@ -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;
}