1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed handling STREAMTYPE_11172_AUDIO in cPatPmtParser::ParsePmt()

This commit is contained in:
Klaus Schmidinger 2009-12-24 11:56:50 +01:00
parent 0bfc5e2f71
commit 25148b7b05
2 changed files with 3 additions and 2 deletions

View File

@ -6225,3 +6225,4 @@ Video Disk Recorder Revision History
- Channel names containing commas are now handled correctly in channels.conf. - Channel names containing commas are now handled correctly in channels.conf.
If a channel's short name contains a comma, it is replaced with a '.'. If a channel's short name contains a comma, it is replaced with a '.'.
- cDevice now logs the device number when a new device is created. - cDevice now logs the device number when a new device is created.
- Fixed handling STREAMTYPE_11172_AUDIO in cPatPmtParser::ParsePmt().

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: remux.c 2.33 2009/12/06 14:04:08 kls Exp $ * $Id: remux.c 2.34 2009/12/24 11:36:38 kls Exp $
*/ */
#include "remux.h" #include "remux.h"
@ -492,11 +492,11 @@ void cPatPmtParser::ParsePmt(const uchar *Data, int Length)
switch (stream.getStreamType()) { switch (stream.getStreamType()) {
case 0x01: // STREAMTYPE_11172_VIDEO case 0x01: // STREAMTYPE_11172_VIDEO
case 0x02: // STREAMTYPE_13818_VIDEO case 0x02: // STREAMTYPE_13818_VIDEO
case 0x03: // STREAMTYPE_11172_AUDIO
case 0x1B: // MPEG4 case 0x1B: // MPEG4
vpid = stream.getPid(); vpid = stream.getPid();
vtype = stream.getStreamType(); vtype = stream.getStreamType();
break; break;
case 0x03: // STREAMTYPE_11172_AUDIO
case 0x04: // STREAMTYPE_13818_AUDIO case 0x04: // STREAMTYPE_13818_AUDIO
{ {
if (NumApids < MAXAPIDS) { if (NumApids < MAXAPIDS) {