summaryrefslogtreecommitdiff
path: root/device.h
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 /device.h
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 'device.h')
-rw-r--r--device.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/device.h b/device.h
index a383dac6..14036c61 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 2.24 2011/03/21 17:58:41 kls Exp $
+ * $Id: device.h 2.25 2011/05/21 12:54:43 kls Exp $
*/
#ifndef __DEVICE_H
@@ -197,6 +197,9 @@ public:
///< Returns the number of this device (0 ... numDevices).
virtual bool HasDecoder(void) const;
///< Tells whether this device has an MPEG decoder.
+ virtual bool AvoidRecording(void) const { return false; }
+ ///< Returns true if this device should only be used for recording
+ ///< if no other device is available.
// Device hooks