summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofafor <rofafor>2012-12-09 21:37:53 +0000
committerrofafor <rofafor>2012-12-09 21:37:53 +0000
commit80e3d7dd97c63af8b9edf7cd2c608f90cf177993 (patch)
treefc24b1538f2c5b0720b9f3a988d13b0dcbe85001
parent6d19034ee9b9d9141e4543048e3df5ac09f748dd (diff)
downloadxineliboutput-80e3d7dd97c63af8b9edf7cd2c608f90cf177993.tar.gz
xineliboutput-80e3d7dd97c63af8b9edf7cd2c608f90cf177993.tar.bz2
Updated for vdr-1.7.33.
-rw-r--r--device.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/device.c b/device.c
index 821724a4..9f0a5cb0 100644
--- a/device.c
+++ b/device.c
@@ -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);