diff options
author | methodus <methodus@web.de> | 2012-12-01 00:10:49 +0100 |
---|---|---|
committer | methodus <methodus@web.de> | 2012-12-01 00:10:49 +0100 |
commit | f33a21ad0523cb6cb811b6f81c6273b7a266165a (patch) | |
tree | 93739a3645c6efe1059ad8a84f994136b18bb911 /plugins | |
parent | 6e84bf963413305833c980b2fe070fc690892418 (diff) | |
download | vdr-plugin-upnp-f33a21ad0523cb6cb811b6f81c6273b7a266165a.tar.gz vdr-plugin-upnp-f33a21ad0523cb6cb811b6f81c6273b7a266165a.tar.bz2 |
Fixed compile error with VDR 1.7.32
Diffstat (limited to 'plugins')
-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; |