From 4c989b162369e761bc785d628778150e038fe0e8 Mon Sep 17 00:00:00 2001 From: Lars Hanisch Date: Sun, 27 Feb 2011 15:34:44 +0100 Subject: vdr-patch: only look at local ciAdapter if idle is possible or not --- patches/vdr-1.7.16-dynamite-subdevice.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'patches') diff --git a/patches/vdr-1.7.16-dynamite-subdevice.patch b/patches/vdr-1.7.16-dynamite-subdevice.patch index 21c8ef8..9f58e40 100644 --- a/patches/vdr-1.7.16-dynamite-subdevice.patch +++ b/patches/vdr-1.7.16-dynamite-subdevice.patch @@ -413,7 +413,7 @@ index 5289bbd..ea54bdb 100644 int cDvbCiAdapter::Read(uint8_t *Buffer, int MaxLength) diff --git a/dvbdevice.c b/dvbdevice.c -index f32b350..356a535 100644 +index f32b350..0c3990f 100644 --- a/dvbdevice.c +++ b/dvbdevice.c @@ -259,6 +259,7 @@ private: @@ -582,7 +582,7 @@ index f32b350..356a535 100644 +bool cDvbDevice::SetIdleDevice(bool Idle, bool TestOnly) +{ + if (TestOnly) -+ return true; ++ return (ciAdapter == NULL); // TODO: implement "idle" dvbCiAdapter + if (!dvbTuner->SetIdle(Idle)) + return false; + if (Idle) -- cgit v1.2.3