summaryrefslogtreecommitdiff
path: root/remux.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-01-14 09:36:00 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-01-14 09:36:00 +0100
commitb454a0777f54d3cd256b042b446088a77415a434 (patch)
tree83edef4c78109803195575aab37c94e04f0ee8aa /remux.c
parent6ba9de491c7f0df65f0ed4c0e0e3fdebc57412be (diff)
downloadvdr-b454a0777f54d3cd256b042b446088a77415a434.tar.gz
vdr-b454a0777f54d3cd256b042b446088a77415a434.tar.bz2
Added handling for DTS audio tracks to cPatPmtParser::ParsePmt()
Diffstat (limited to 'remux.c')
-rw-r--r--remux.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/remux.c b/remux.c
index ae5feefe..16ae1352 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 3.7 2014/04/13 13:48:35 kls Exp $
+ * $Id: remux.c 3.8 2015/01/14 09:28:24 kls Exp $
*/
#include "remux.h"
@@ -822,9 +822,12 @@ void cPatPmtParser::ParsePmt(const uchar *Data, int Length)
}
}
break;
- case 0x81: // STREAMTYPE_USER_PRIVATE
+ case 0x81: // STREAMTYPE_USER_PRIVATE - AC3 audio for ATSC and BD
+ case 0x82: // STREAMTYPE_USER_PRIVATE - DTS audio for BD
{
- dbgpatpmt(" AC3");
+ dbgpatpmt(" %s",
+ stream.getStreamType() == 0x81 ? "AC3" :
+ stream.getStreamType() == 0x82 ? "DTS" : "");
char lang[MAXLANGCODE1] = { 0 };
SI::Descriptor *d;
for (SI::Loop::Iterator it; (d = stream.streamDescriptors.getNext(it)); ) {