The command line option -D now accepts the value '-' (as in -D-), which prevents VDR from using any DVB devices

This commit is contained in:
Klaus Schmidinger
2015-04-18 14:30:47 +02:00
parent 7aef23e97f
commit fa701228d7
6 changed files with 20 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: dvbdevice.h 3.5 2014/03/16 10:38:31 kls Exp $
* $Id: dvbdevice.h 4.1 2015/04/18 13:57:27 kls Exp $
*/
#ifndef __DVBDEVICE_H
@@ -174,6 +174,7 @@ private:
static bool Probe(int Adapter, int Frontend);
///< Probes for existing DVB devices.
public:
static bool useDvbDevices;
static bool Initialize(void);
///< Initializes the DVB devices.
///< Must be called before accessing any DVB functions.