diff options
author | rofafor <rofafor> | 2012-12-09 21:37:53 +0000 |
---|---|---|
committer | rofafor <rofafor> | 2012-12-09 21:37:53 +0000 |
commit | 80e3d7dd97c63af8b9edf7cd2c608f90cf177993 (patch) | |
tree | fc24b1538f2c5b0720b9f3a988d13b0dcbe85001 | |
parent | 6d19034ee9b9d9141e4543048e3df5ac09f748dd (diff) | |
download | xineliboutput-80e3d7dd97c63af8b9edf7cd2c608f90cf177993.tar.gz xineliboutput-80e3d7dd97c63af8b9edf7cd2c608f90cf177993.tar.bz2 |
Updated for vdr-1.7.33.
-rw-r--r-- | device.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: device.c,v 1.121 2012-03-17 20:19:27 phintuka Exp $ + * $Id: device.c,v 1.122 2012-12-09 21:37:53 rofafor Exp $ * */ @@ -1159,8 +1159,11 @@ int cXinelibDevice::PlayTs(const uchar *Data, int Length, bool VideoOnly) if (TsHasPayload(Data) && TsPayloadOffset(Data) < TS_SIZE) { int Pid = TsPid(Data); +#if VDRVERSNUM < 10733 if (Pid == 0 || Pid == PatPmtParser()->PmtPid()) { - +#else + if (Pid == PATPID || PatPmtParser()->IsPmtPid(Pid)) { +#endif if (m_server) m_server->SetHeader(Data, Result, Pid == 0); |