diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-01-14 09:36:00 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-01-14 09:36:00 +0100 |
commit | b454a0777f54d3cd256b042b446088a77415a434 (patch) | |
tree | 83edef4c78109803195575aab37c94e04f0ee8aa | |
parent | 6ba9de491c7f0df65f0ed4c0e0e3fdebc57412be (diff) | |
download | vdr-b454a0777f54d3cd256b042b446088a77415a434.tar.gz vdr-b454a0777f54d3cd256b042b446088a77415a434.tar.bz2 |
Added handling for DTS audio tracks to cPatPmtParser::ParsePmt()
-rw-r--r-- | CONTRIBUTORS | 1 | ||||
-rw-r--r-- | HISTORY | 4 | ||||
-rw-r--r-- | remux.c | 9 |
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 @@ -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). @@ -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)); ) { |