summaryrefslogtreecommitdiff
path: root/PLUGINS/src
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-01-25 10:52:43 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-01-25 10:52:43 +0100
commit79dad980cfd29e43ab19ab6264469fc5b49c9dec (patch)
tree9cc9f96c03e58694a50f1557fa0550372e24ab10 /PLUGINS/src
parent01c26a5c6cc16e316fb19c9c47c4318eac47c8f2 (diff)
downloadvdr-79dad980cfd29e43ab19ab6264469fc5b49c9dec.tar.gz
vdr-79dad980cfd29e43ab19ab6264469fc5b49c9dec.tar.bz2
Returning 0 from cDvbSdFfDevice::NumProvidedSystems() if option --outputonly is given
Diffstat (limited to 'PLUGINS/src')
-rw-r--r--PLUGINS/src/dvbsddevice/HISTORY4
-rw-r--r--PLUGINS/src/dvbsddevice/dvbsddevice.c4
-rw-r--r--PLUGINS/src/dvbsddevice/dvbsdffdevice.c9
-rw-r--r--PLUGINS/src/dvbsddevice/dvbsdffdevice.h3
4 files changed, 16 insertions, 4 deletions
diff --git a/PLUGINS/src/dvbsddevice/HISTORY b/PLUGINS/src/dvbsddevice/HISTORY
index 5cca3ec2..e1f98548 100644
--- a/PLUGINS/src/dvbsddevice/HISTORY
+++ b/PLUGINS/src/dvbsddevice/HISTORY
@@ -37,3 +37,7 @@ VDR Plugin 'dvbsddevice' Revision History
2013-01-12: Version 0.0.8
- Adapted Makefile to changes introduced in recent VDR versions.
+
+2013-01-25: Version 0.0.9
+
+- Returning 0 from cDvbSdFfDevice::NumProvidedSystems() if option --outputonly is given.
diff --git a/PLUGINS/src/dvbsddevice/dvbsddevice.c b/PLUGINS/src/dvbsddevice/dvbsddevice.c
index 7f91d404..8ebfe2b6 100644
--- a/PLUGINS/src/dvbsddevice/dvbsddevice.c
+++ b/PLUGINS/src/dvbsddevice/dvbsddevice.c
@@ -3,14 +3,14 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: dvbsddevice.c 1.8 2013/01/12 14:12:07 kls Exp $
+ * $Id: dvbsddevice.c 1.9 2013/01/25 10:48:50 kls Exp $
*/
#include <getopt.h>
#include <vdr/plugin.h>
#include "dvbsdffdevice.h"
-static const char *VERSION = "0.0.8";
+static const char *VERSION = "0.0.9";
static const char *DESCRIPTION = "SD Full Featured DVB device";
class cPluginDvbsddevice : public cPlugin {
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) {
diff --git a/PLUGINS/src/dvbsddevice/dvbsdffdevice.h b/PLUGINS/src/dvbsddevice/dvbsdffdevice.h
index 79b4e3d8..dc55148f 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.14 2012/12/03 13:43:55 kls Exp $
+ * $Id: dvbsdffdevice.h 2.15 2013/01/25 10:43:14 kls Exp $
*/
#ifndef __DVBSDFFDEVICE_H
@@ -37,6 +37,7 @@ public:
public:
virtual bool ProvidesSource(int Source) const;
+ virtual int NumProvidedSystems(void) const;
private:
void TurnOffLiveMode(bool LiveView);
protected: