summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY4
-rw-r--r--remux.c9
3 files changed, 10 insertions, 4 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 04dd82dc..3242d4a1 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -3269,6 +3269,7 @@ Thomas Reufer <thomas@reufer.ch>
pmAudioVideo when replaying a recording
for fixing a possible crash in the LCARS skin
for implementing cOsd::DrawScaledBitmap()
+ for adding handling for DTS audio tracks to cPatPmtParser::ParsePmt()
Eike Sauer <EikeSauer@t-online.de>
for reporting a problem with channels that need more than 5 TS packets for detecting
diff --git a/HISTORY b/HISTORY
index 9c5b2913..edbe1f09 100644
--- a/HISTORY
+++ b/HISTORY
@@ -8307,7 +8307,7 @@ Video Disk Recorder Revision History
- The APIVERSION has been increased to 2.0.6 due to the changes to pat.h, sdt.h and
the functional modification to cFont::CreateFont().
-2015-01-13: Version 2.1.7
+2015-01-14: Version 2.1.7
- No longer logging an error message in DirSizeMB() if the given directory doesn't
exist. This avoids lots of log entries in case several VDRs use the same video
@@ -8358,3 +8358,5 @@ Video Disk Recorder Revision History
- Changed the German weekday names from "MonDieMitDonFreSamSon" to
"Mo.Di.Mi.Do.Fr.Sa.So." (thanks to Stefan Blochberger).
- Now handling CAT sections that consist of more than one TS packet.
+- Added handling for DTS audio tracks to cPatPmtParser::ParsePmt() (thanks to
+ Thomas Reufer).
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)); ) {