From 7f3d21f86715d10e9c7ec9a0da1177c9313178d3 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 16 May 2010 13:36:55 +0200 Subject: Added handling MPEG audio types "ISO/IEC 14496-3 Audio with LATM transport syntax" and "ISO/IEC 13818-7 Audio with ADTS transport sytax" --- remux.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'remux.c') diff --git a/remux.c b/remux.c index 80ebeb77..558cfbfd 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.45 2010/05/13 14:16:56 kls Exp $ + * $Id: remux.c 2.46 2010/05/16 12:23:12 kls Exp $ */ #include "remux.h" @@ -321,7 +321,7 @@ void cPatPmtGenerator::GeneratePmt(const cChannel *Channel) if (Vpid) i += MakeStream(buf + i, Channel->Vtype(), Vpid); for (int n = 0; Channel->Apid(n); n++) { - i += MakeStream(buf + i, 0x04, Channel->Apid(n)); + i += MakeStream(buf + i, Channel->Atype(n), Channel->Apid(n)); const char *Alang = Channel->Alang(n); i += MakeLanguageDescriptor(buf + i, Alang); } @@ -510,6 +510,8 @@ void cPatPmtParser::ParsePmt(const uchar *Data, int Length) break; case 0x03: // STREAMTYPE_11172_AUDIO case 0x04: // STREAMTYPE_13818_AUDIO + case 0x0F: // ISO/IEC 13818-7 Audio with ADTS transport sytax + case 0x11: // ISO/IEC 14496-3 Audio with LATM transport syntax { if (NumApids < MAXAPIDS) { apids[NumApids] = stream.getPid(); -- cgit v1.2.3