mirror of
https://github.com/mpv-player/mpv
synced 2025-02-23 08:26:56 +00:00
fixed -npp help ... i think i need more sleep ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3988 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4b31c2005c
commit
476e40d323
@ -580,13 +580,6 @@ struct PPMode getPPModeByNameAndQuality(char *name, int quality)
|
||||
|
||||
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(;;){
|
||||
@ -768,6 +761,13 @@ struct PPMode getPPModeByNameAndQuality(char *name, int quality)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user