diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-01-25 10:52:43 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-01-25 10:52:43 +0100 |
commit | 79dad980cfd29e43ab19ab6264469fc5b49c9dec (patch) | |
tree | 9cc9f96c03e58694a50f1557fa0550372e24ab10 /PLUGINS/src/dvbsddevice/dvbsdffdevice.c | |
parent | 01c26a5c6cc16e316fb19c9c47c4318eac47c8f2 (diff) | |
download | vdr-79dad980cfd29e43ab19ab6264469fc5b49c9dec.tar.gz vdr-79dad980cfd29e43ab19ab6264469fc5b49c9dec.tar.bz2 |
Returning 0 from cDvbSdFfDevice::NumProvidedSystems() if option --outputonly is given
Diffstat (limited to 'PLUGINS/src/dvbsddevice/dvbsdffdevice.c')
-rw-r--r-- | PLUGINS/src/dvbsddevice/dvbsdffdevice.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/PLUGINS/src/dvbsddevice/dvbsdffdevice.c b/PLUGINS/src/dvbsddevice/dvbsdffdevice.c index 56018792..f9ff5b32 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.33 2012/03/11 13:32:42 kls Exp $ + * $Id: dvbsdffdevice.c 2.34 2013/01/25 10:48:29 kls Exp $ */ #include "dvbsdffdevice.h" @@ -362,6 +362,13 @@ bool cDvbSdFfDevice::ProvidesSource(int Source) const return cDvbDevice::ProvidesSource(Source); } +int cDvbSdFfDevice::NumProvidedSystems(void) const +{ + if (outputOnly) + return 0; + return cDvbDevice::NumProvidedSystems(); +} + void cDvbSdFfDevice::TurnOffLiveMode(bool LiveView) { if (LiveView) { |