summaryrefslogtreecommitdiff
path: root/remux.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-05-16 13:36:55 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2010-05-16 13:36:55 +0200
commit7f3d21f86715d10e9c7ec9a0da1177c9313178d3 (patch)
tree22488ac5fd771e3cb7b3ef4f7ed984d964bb27cd /remux.c
parent0f9b247122314e51f06d848b7801dbfcacab3de7 (diff)
downloadvdr-7f3d21f86715d10e9c7ec9a0da1177c9313178d3.tar.gz
vdr-7f3d21f86715d10e9c7ec9a0da1177c9313178d3.tar.bz2
Added handling MPEG audio types "ISO/IEC 14496-3 Audio with LATM transport syntax" and "ISO/IEC 13818-7 Audio with ADTS transport sytax"
Diffstat (limited to 'remux.c')
-rw-r--r--remux.c6
1 files changed, 4 insertions, 2 deletions
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();