Originally committed as revision 3988 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
strncpy(temp, name, GET_MODE_BUFFER_SIZE);
- if(!strcmp("help", name))
- {
- printf("%s", help);
- ppMode.error++;
- return ppMode;
- }
-
if(verbose) printf("%s\n", name);
for(;;){
int readPPOpt(void *conf, char *arg)
{
int quality;
+
+ if(!strcmp("help", arg))
+ {
+ printf("%s", help);
+ exit(1);
+ }
+
for(quality=0; quality<GET_PP_QUALITY_MAX+1; quality++)
{
gPPMode[quality]= getPPModeByNameAndQuality(arg, quality);