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

Setting the audio type of language descriptors to 0x00 in the PAT/PMT generator

This commit is contained in:
Klaus Schmidinger 2011-02-26 15:53:12 +01:00
parent 387ee5b604
commit 63fb010fc5
3 changed files with 5 additions and 2 deletions

View File

@ -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'

View File

@ -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).

View File

@ -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++;