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:
parent
387ee5b604
commit
63fb010fc5
@ -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'
|
||||
|
2
HISTORY
2
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).
|
||||
|
4
remux.c
4
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++;
|
||||
|
Loading…
Reference in New Issue
Block a user