diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-11-19 10:32:31 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-11-19 10:32:31 +0100 |
commit | 8f9136ecab28d915d3e57f35badf4b74bb2bfce8 (patch) | |
tree | 9fc527d18b580cb3bb22b4decfed2690991229a7 /device.c | |
parent | 56f8752b9a08b43ffd0a8e7e4bb2b0d13fc6d28f (diff) | |
download | vdr-8f9136ecab28d915d3e57f35badf4b74bb2bfce8.tar.gz vdr-8f9136ecab28d915d3e57f35badf4b74bb2bfce8.tar.bz2 |
In order to be able to play TS recordings from other sources, in which there is more than one PMT PID in the PAT, 'int cPatPmtParser::PatPmt(void)' has been changed to 'bool cPatPmtParser::IsPatPmt(int Pid)'
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 2.69 2012/11/13 09:11:43 kls Exp $ + * $Id: device.c 2.70 2012/11/19 09:59:09 kls Exp $ */ #include "device.h" @@ -1149,7 +1149,7 @@ void cDevice::StillPicture(const uchar *Data, int Length) int Pid = TsPid(Data); if (Pid == PATPID) patPmtParser.ParsePat(Data, TS_SIZE); - else if (Pid == patPmtParser.PmtPid()) + else if (patPmtParser.IsPmtPid(Pid)) patPmtParser.ParsePmt(Data, TS_SIZE); else if (Pid == patPmtParser.Vpid()) { if (TsPayloadStart(Data)) { @@ -1486,7 +1486,7 @@ int cDevice::PlayTs(const uchar *Data, int Length, bool VideoOnly) if (PayloadOffset < TS_SIZE) { if (Pid == PATPID) patPmtParser.ParsePat(Data, TS_SIZE); - else if (Pid == patPmtParser.PmtPid()) + else if (patPmtParser.IsPmtPid(Pid)) patPmtParser.ParsePmt(Data, TS_SIZE); else if (Pid == patPmtParser.Vpid()) { isPlayingVideo = true; |