summaryrefslogtreecommitdiff
path: root/PLUGINS/src
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-05-21 13:40:47 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2011-05-21 13:40:47 +0200
commit8cb8e6333a4663c90ab55015bbf7ad1ebe04def9 (patch)
tree554dbb05ffb5dbe8e32657bdf2002ea945e752fc /PLUGINS/src
parent299335153644eb24276724cd2e9f4234ee77cdca (diff)
downloadvdr-8cb8e6333a4663c90ab55015bbf7ad1ebe04def9.tar.gz
vdr-8cb8e6333a4663c90ab55015bbf7ad1ebe04def9.tar.bz2
The primary device is now only avoided for recording if it is an old SD full featured card
Diffstat (limited to 'PLUGINS/src')
-rw-r--r--PLUGINS/src/dvbsddevice/dvbsdffdevice.c7
-rw-r--r--PLUGINS/src/dvbsddevice/dvbsdffdevice.h3
2 files changed, 8 insertions, 2 deletions
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