Added handling for DTS audio tracks to cPatPmtParser::ParsePmt()

This commit is contained in:
Klaus Schmidinger 2015-01-14 09:36:00 +01:00
parent 6ba9de491c
commit b454a0777f
3 changed files with 10 additions and 4 deletions

View File

@ -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

View File

@ -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).

View File

@ -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)); ) {