summaryrefslogtreecommitdiff
path: root/PLUGINS
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-08-22 08:22:50 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2013-08-22 08:22:50 +0200
commit7fc654eb211f6641b8a46d938876bbad538c4c16 (patch)
treeb6366d0cdb24cd42ea5bba41598b10bbe3b28608 /PLUGINS
parenta0a442127888bef3bde6be295b3b5c03e6cc84e3 (diff)
downloadvdr-7fc654eb211f6641b8a46d938876bbad538c4c16.tar.gz
vdr-7fc654eb211f6641b8a46d938876bbad538c4c16.tar.bz2
Fixed handling the -o option (short form of --outputonly)
Diffstat (limited to 'PLUGINS')
-rw-r--r--PLUGINS/src/dvbsddevice/HISTORY5
-rw-r--r--PLUGINS/src/dvbsddevice/dvbsddevice.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/PLUGINS/src/dvbsddevice/HISTORY b/PLUGINS/src/dvbsddevice/HISTORY
index 4dd75d2c..cb6753ab 100644
--- a/PLUGINS/src/dvbsddevice/HISTORY
+++ b/PLUGINS/src/dvbsddevice/HISTORY
@@ -45,3 +45,8 @@ VDR Plugin 'dvbsddevice' Revision History
2013-03-31: Version 2.0.0
- Official release.
+
+2013-08-22: Version 2.0.1
+
+- Fixed handling the -o option (short form of --outputonly; problem reported by
+ Mario Edelmann).
diff --git a/PLUGINS/src/dvbsddevice/dvbsddevice.c b/PLUGINS/src/dvbsddevice/dvbsddevice.c
index cdc07836..3f57f23b 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.10 2013/03/31 09:30:18 kls Exp $
+ * $Id: dvbsddevice.c 3.1 2013/08/22 08:20:18 kls Exp $
*/
#include <getopt.h>
#include <vdr/plugin.h>
#include "dvbsdffdevice.h"
-static const char *VERSION = "2.0.0";
+static const char *VERSION = "2.0.1";
static const char *DESCRIPTION = "SD Full Featured DVB device";
class cPluginDvbsddevice : public cPlugin {
@@ -48,7 +48,7 @@ bool cPluginDvbsddevice::ProcessArgs(int argc, char *argv[])
};
int c;
- while ((c = getopt_long(argc, argv, "", long_options, NULL)) != -1) {
+ while ((c = getopt_long(argc, argv, "o", long_options, NULL)) != -1) {
switch (c) {
case 'o': probe->SetOutputOnly(true);
break;