freebsd-ports/multimedia/vdr-plugin-infosatepg/files/patch-infosatepg.cpp
Juergen Lock 21694da2c5 - Update multimedia/vdr and multimedia/vdr-plugins to 1.7.27 .
- Update multimedia/vdr-plugin-epgsearch to 1.0.1s20120322 git snapshot.
- Update multimedia/vdr-plugin-femon to 1.7.15 .
- Update multimedia/vdr-plugin-iptv to 0.5.0 .
- Update multimedia/vdr-plugin-osdteletext to 0.9.2 .
- Update multimedia/vdr-plugin-streamdev to 0.5.1p20120311 git snapthot.
- Update multimedia/vdr-plugin-xineliboutput to 1.0.90s20111129.1002
  cvs snapshot.
- Bump PORTREVISION for all other plugins and add vdr 1.7.27
  compatibility/bugfix patches where necessary.
2012-04-21 14:10:58 +00:00

27 lines
1.4 KiB
C++

--- infosatepg.cpp.orig
+++ infosatepg.cpp
@@ -190,10 +190,14 @@ void cPluginInfosatepg::MainThreadHook(v
if (dev)
{
if (!dev->ProvidesTransponder(chan)) continue; // device cannot provide transponder -> skip
+#if VDRVERSNUM >= 10726
+ if (statusMonitor->m_LiveView) continue; // EITScanner is updating EPG -> skip
+#else
if (EITScanner.UsesDevice(dev)) continue; // EITScanner is updating EPG -> skip
+#endif
if (dev->Receiving()) continue; // device is recording -> skip
if (dev->IsPrimaryDevice()) continue; // device is primary -> skip
- if (cDevice::ActualDevice()->CardIndex()==i) continue; // device is live viewing -> skip
+ if (cDevice::ActualDevice()->CardIndex()==dev->CardIndex()) continue; // device is live viewing -> skip
if (dev->IsTunedToTransponder(chan))
{
// we already have a device which is tuned (maybe switched manually?)
@@ -403,7 +407,7 @@ cString cPluginInfosatepg::SVDRPCommand(
cString head2;
head2="\n" \
" | | missed | | | unlocated\n" \
- " Day | Date | Packets | Received %% | Processed | Events\n" \
+ " Day | Date | Packets | Received % | Processed | Events\n" \
"------+--------+---------+------------+------------+----------\n";
cString mstr;