diff options
Diffstat (limited to 'plugins/profiler')
-rw-r--r-- | plugins/profiler/vdrDVBProfiler/dvbProfiler.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
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; |