summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-02-26 15:53:12 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2011-02-26 15:53:12 +0100
commit63fb010fc5559dc0cb0552b044d4326be7c05f19 (patch)
treee21a80d603a1088b309b64a518bc8f13bfc7c242
parent387ee5b6049bb5b38191fb192a4c6831485dab1c (diff)
downloadvdr-63fb010fc5559dc0cb0552b044d4326be7c05f19.tar.gz
vdr-63fb010fc5559dc0cb0552b044d4326be7c05f19.tar.bz2
Setting the audio type of language descriptors to 0x00 in the PAT/PMT generator
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--remux.c4
3 files changed, 5 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 67610875..43ac71f6 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -2296,6 +2296,7 @@ Anssi Hannula <anssi.hannula@gmail.com>
from within its source directory
for fixing stopping subtitle display when switching the primary device
for fixing plugin arguments corruption with glibc 2.11 on x86_64
+ for setting the audio type of language descriptors to 0x00 in the PAT/PMT generator
Antti Hartikainen <ami+vdr@ah.fi>
for updating 'S13E' in 'sources.conf'
diff --git a/HISTORY b/HISTORY
index eccc6871..e2fda788 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6541,3 +6541,5 @@ Video Disk Recorder Revision History
- Now checking the result of all realloc() calls.
- Fixed setting up the 'Recordings' menu in case there are several recordings
with exactly the same name.
+- Setting the audio type of language descriptors to 0x00 in the PAT/PMT generator
+ (thanks to Anssi Hannula).
diff --git a/remux.c b/remux.c
index 40101212..f7ad86dd 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 2.50 2011/02/25 15:19:57 kls Exp $
+ * $Id: remux.c 2.51 2011/02/26 15:51:04 kls Exp $
*/
#include "remux.h"
@@ -225,7 +225,7 @@ int cPatPmtGenerator::MakeLanguageDescriptor(uchar *Target, const char *Language
Target[i++] = *Language++;
Target[i++] = *Language++;
Target[i++] = *Language++;
- Target[i++] = 0x01; // audio type
+ Target[i++] = 0x00; // audio type
Target[Length] += 0x04; // length
if (*Language == '+')
Language++;