From 63fb010fc5559dc0cb0552b044d4326be7c05f19 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 26 Feb 2011 15:53:12 +0100 Subject: [PATCH] Setting the audio type of language descriptors to 0x00 in the PAT/PMT generator --- CONTRIBUTORS | 1 + HISTORY | 2 ++ remux.c | 4 ++-- 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 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 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++;