mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Fixed handling the -o option (short form of --outputonly)
This commit is contained in:
		| @@ -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). | ||||
|   | ||||
| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user