From 7fc654eb211f6641b8a46d938876bbad538c4c16 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 22 Aug 2013 08:22:50 +0200 Subject: Fixed handling the -o option (short form of --outputonly) --- PLUGINS/src/dvbsddevice/HISTORY | 5 +++++ PLUGINS/src/dvbsddevice/dvbsddevice.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'PLUGINS') 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 #include #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; -- cgit v1.2.3