Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > da95e7e5c21cf72a778ff56c7941399c > files > 24

vdr-1.6.0-4mdv2008.0.src.rpm

#! /bin/sh /usr/share/dpatch/dpatch-run
## opt-49-x_pvrinput.dpatch by Tobias Grimm <tg@e-tobi.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: This patch is required by the pvrinput plug-in and was taken from
## DP: version 2007-11-29 of the plug-in.
## DP: http://drseltsam.device.name/vdr/pvr/src/pvrinput

@DPATCH@
diff -urNad vdr-1.5.15~/dvbdevice.c vdr-1.5.15/dvbdevice.c
--- vdr-1.5.15~/dvbdevice.c	2008-02-09 17:11:44.000000000 +0100
+++ vdr-1.5.15/dvbdevice.c	2008-02-20 14:38:36.000000000 +0100
@@ -759,7 +759,7 @@
   bool result = false;
   bool hasPriority = Priority < 0 || Priority > this->Priority();
   bool needsDetachReceivers = false;
-
+  if (Channel->Ca(0) == 0xA1) return false; /* this caid marks a pvrinput plugin channel, no dvb */
   if (ProvidesSource(Channel->Source())) {
      result = hasPriority;
      if (Priority >= 0 && Receiving(true)) {