mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	No longer calling cPlugin::ProcessArgs() if VDR is run with the --help or --version option
This commit is contained in:
		| @@ -1400,6 +1400,8 @@ Udo Richter <udo_richter@gmx.de> | ||||
|  Up/Down in insert mode | ||||
|  for fixing handling the "Setup/OSD/Menu button closes" option when set to 'yes' in | ||||
|  case a replay is active | ||||
|  for reporting a problem with plugins that report errors when VDR is run with the | ||||
|  --help or --version option | ||||
|  | ||||
| Sven Kreiensen <svenk@kammer.uni-hannover.de> | ||||
|  for his help in keeping 'channels.conf.terr' up to date | ||||
|   | ||||
							
								
								
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -4495,3 +4495,5 @@ Video Disk Recorder Revision History | ||||
| - When hitting the end of a recording in fast forward mode, VDR no longer switches | ||||
|   back to normal speed if the recording is already finished (thanks to Reinhard | ||||
|   Nissl). | ||||
| - No longer calling cPlugin::ProcessArgs() if VDR is run with the --help or | ||||
|   --version option, to avoid error messages from plugins (reported by Udo Richter). | ||||
|   | ||||
							
								
								
									
										4
									
								
								plugin.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								plugin.c
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * how to reach the author. | ||||
|  * | ||||
|  * $Id: plugin.c 1.17 2006/02/28 14:16:54 kls Exp $ | ||||
|  * $Id: plugin.c 1.18 2006/04/09 14:16:17 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include "plugin.h" | ||||
| @@ -232,7 +232,7 @@ bool cDll::Load(bool Log) | ||||
|         if (argc) | ||||
|            plugin->SetName(argv[0]); | ||||
|         optind = 0; // to reset the getopt() data | ||||
|         return !argc || plugin->ProcessArgs(argc, argv); | ||||
|         return !Log || !argc || plugin->ProcessArgs(argc, argv); | ||||
|         } | ||||
|      } | ||||
|   else { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user