From 680b1b8f8721c0462f04e838dcafd799a10b5574 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Wed, 7 Mar 2012 14:00:28 +0100 Subject: Removed the calls to EITScanner.UsesDevice(this) from dvb[hs]ddevice.c --- HISTORY | 3 +++ PLUGINS/src/dvbsddevice/HISTORY | 6 ++++++ PLUGINS/src/dvbsddevice/dvbsddevice.c | 4 ++-- PLUGINS/src/dvbsddevice/dvbsdffdevice.c | 9 +-------- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/HISTORY b/HISTORY index 72963102..fc43bdc1 100644 --- a/HISTORY +++ b/HISTORY @@ -6981,3 +6981,6 @@ Video Disk Recorder Revision History by using "occupied". - Fixed selecting devices for the EPG scan in case the primary device is bonded with an other one. +- Removed the calls to EITScanner.UsesDevice(this) from dvb[hs]ddevice.c, because + the code following these calls is only executed if LiveView is true, which is + never the case when the EITScanner switches to a channel. diff --git a/PLUGINS/src/dvbsddevice/HISTORY b/PLUGINS/src/dvbsddevice/HISTORY index 229e35b0..676dd6fc 100644 --- a/PLUGINS/src/dvbsddevice/HISTORY +++ b/PLUGINS/src/dvbsddevice/HISTORY @@ -23,3 +23,9 @@ VDR Plugin 'dvbsddevice' Revision History 2011-08-27: Version 0.0.5 - Added option --outputonly to use the device only for output (thanks to Udo Richter). + +2012-03-07: Version 0.06 + +- Removed the call to EITScanner.UsesDevice(this) from dvbsddevice.c, because + the code following these calls is only executed if LiveView is true, which is + never the case when the EITScanner switches to a channel. diff --git a/PLUGINS/src/dvbsddevice/dvbsddevice.c b/PLUGINS/src/dvbsddevice/dvbsddevice.c index 2aa8c77d..7f1dde48 100644 --- a/PLUGINS/src/dvbsddevice/dvbsddevice.c +++ b/PLUGINS/src/dvbsddevice/dvbsddevice.c @@ -3,14 +3,14 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: dvbsddevice.c 1.5 2011/08/27 11:34:58 kls Exp $ + * $Id: dvbsddevice.c 1.6 2012/03/07 13:58:08 kls Exp $ */ #include #include #include "dvbsdffdevice.h" -static const char *VERSION = "0.0.5"; +static const char *VERSION = "0.0.6"; static const char *DESCRIPTION = "SD Full Featured DVB device"; class cPluginDvbsddevice : public cPlugin { diff --git a/PLUGINS/src/dvbsddevice/dvbsdffdevice.c b/PLUGINS/src/dvbsddevice/dvbsdffdevice.c index cc6af339..25be281a 100644 --- a/PLUGINS/src/dvbsddevice/dvbsdffdevice.c +++ b/PLUGINS/src/dvbsddevice/dvbsdffdevice.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: dvbsdffdevice.c 2.31 2012/02/15 13:15:05 kls Exp $ + * $Id: dvbsdffdevice.c 2.32 2012/03/07 13:52:48 kls Exp $ */ #include "dvbsdffdevice.h" @@ -421,13 +421,6 @@ bool cDvbSdFfDevice::SetChannelDevice(const cChannel *Channel, bool LiveView) if (!cDvbDevice::SetChannelDevice(Channel, LiveView)) return false; - // If this channel switch was requested by the EITScanner we don't wait for - // a lock and don't set any live PIDs (the EITScanner will wait for the lock - // by itself before setting any filters): - - if (EITScanner.UsesDevice(this)) //XXX - return true; - // PID settings: if (TurnOnLivePIDs) { -- cgit v1.2.3