From 8cb8e6333a4663c90ab55015bbf7ad1ebe04def9 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 21 May 2011 13:40:47 +0200 Subject: The primary device is now only avoided for recording if it is an old SD full featured card --- PLUGINS/src/dvbsddevice/dvbsdffdevice.c | 7 ++++++- PLUGINS/src/dvbsddevice/dvbsdffdevice.h | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'PLUGINS/src') diff --git a/PLUGINS/src/dvbsddevice/dvbsdffdevice.c b/PLUGINS/src/dvbsddevice/dvbsdffdevice.c index 1d812d70..cad7d311 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.27 2010/09/12 11:29:00 kls Exp $ + * $Id: dvbsdffdevice.c 2.28 2011/05/21 13:24:35 kls Exp $ */ #include "dvbsdffdevice.h" @@ -90,6 +90,11 @@ bool cDvbSdFfDevice::HasDecoder(void) const return true; } +bool cDvbSdFfDevice::AvoidRecording(void) const +{ + return true; +} + cSpuDecoder *cDvbSdFfDevice::GetSpuDecoder(void) { if (!spuDecoder && IsPrimaryDevice()) diff --git a/PLUGINS/src/dvbsddevice/dvbsdffdevice.h b/PLUGINS/src/dvbsddevice/dvbsdffdevice.h index b382bf62..afe4727e 100644 --- a/PLUGINS/src/dvbsddevice/dvbsdffdevice.h +++ b/PLUGINS/src/dvbsddevice/dvbsdffdevice.h @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: dvbsdffdevice.h 2.11 2010/01/04 11:01:14 kls Exp $ + * $Id: dvbsdffdevice.h 2.12 2011/05/21 12:56:49 kls Exp $ */ #ifndef __DVBSDFFDEVICE_H @@ -23,6 +23,7 @@ public: cDvbSdFfDevice(int Adapter, int Frontend); virtual ~cDvbSdFfDevice(); virtual bool HasDecoder(void) const; + virtual bool AvoidRecording(void) const; // SPU facilities -- cgit v1.2.3