diff options
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index 9321f16d..0a57c67c 100644 --- a/dvbdevice.c +++ b/dvbdevice.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.c 3.14 2015/01/14 12:09:19 kls Exp $ + * $Id: dvbdevice.c 4.1 2015/04/18 14:21:58 kls Exp $ */ #include "dvbdevice.h" @@ -1064,6 +1064,7 @@ cOsdItem *cDvbSourceParam::GetOsdItem(void) // --- cDvbDevice ------------------------------------------------------------ +bool cDvbDevice::useDvbDevices = true; int cDvbDevice::setTransferModeForDolbyDigital = 1; cMutex cDvbDevice::bondMutex; @@ -1234,7 +1235,7 @@ bool cDvbDevice::Initialize(void) if (Exists(Adapter, Frontend)) { if (Found < MAXDEVICES) { Found++; - if (UseDevice(NextCardIndex())) { + if (useDvbDevices && UseDevice(NextCardIndex())) { if (Probe(Adapter, Frontend)) Used++; } |