diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-08-22 08:30:52 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-08-22 08:30:52 +0200 |
commit | 0161639e934c5aa0e253de62cbb5adf36e57b340 (patch) | |
tree | c4a7a37f39c0afbc3541a9d9a72182894d4de19b /PLUGINS | |
parent | 77da7bb20c4daa019d3642680ee4fec3dd5c21e3 (diff) | |
download | vdr-0161639e934c5aa0e253de62cbb5adf36e57b340.tar.gz vdr-0161639e934c5aa0e253de62cbb5adf36e57b340.tar.bz2 |
Fixed handling the -o option (short form of --outputonly)
Diffstat (limited to 'PLUGINS')
-rw-r--r-- | PLUGINS/src/dvbsddevice/HISTORY | 5 | ||||
-rw-r--r-- | PLUGINS/src/dvbsddevice/dvbsddevice.c | 6 |
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..6b1621c9 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 1.10.1.1 2013/08/22 08:30:52 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; |