From f33a21ad0523cb6cb811b6f81c6273b7a266165a Mon Sep 17 00:00:00 2001 From: methodus Date: Sat, 1 Dec 2012 00:10:49 +0100 Subject: Fixed compile error with VDR 1.7.32 --- plugins/profiler/vdrDVBProfiler/dvbProfiler.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'plugins/profiler/vdrDVBProfiler') diff --git a/plugins/profiler/vdrDVBProfiler/dvbProfiler.cpp b/plugins/profiler/vdrDVBProfiler/dvbProfiler.cpp index c21275c..22285b4 100644 --- a/plugins/profiler/vdrDVBProfiler/dvbProfiler.cpp +++ b/plugins/profiler/vdrDVBProfiler/dvbProfiler.cpp @@ -183,7 +183,14 @@ private: pid = TsPid(buf); if(pid == 0){ parser.ParsePat(buf, TS_SIZE); - } else if (pid == parser.PmtPid()) { + } + else +#if VDRVERSNUM < 10732 + if (pid == parser.PmtPid()) +#else + if (PatPmtParser.IsPmtPid(pid)) +#endif + { parser.ParsePmt(buf, TS_SIZE); if(parser.GetVersions(patV, pmtV)) break; -- cgit v1.2.3