1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02:00

-vo help fixed

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1691 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-08-25 19:11:24 +00:00
parent 602b56b252
commit a8c79a7c30

View File

@ -469,19 +469,6 @@ int use_stdin=0; //int f; // filedes
parse_cfgfiles();
num_filenames=parse_command_line(conf, argc, argv, envp, &filenames);
if(num_filenames<0) exit(1); // error parsing cmdline
if(!num_filenames && !vcd_track && !dvd_title){
// no file/vcd/dvd -> show HELP:
printf("%s",help_text);
exit(0);
}
// Many users forget to include command line in bugreports...
if(verbose){
printf("CommandLine:");
for(i=1;i<argc;i++)printf(" '%s'",argv[i]);
printf("\n");
printf("num_filenames: %d\n",num_filenames);
}
#ifndef USE_LIBVO2
if(video_driver && strcmp(video_driver,"help")==0){
@ -506,6 +493,20 @@ int use_stdin=0; //int f; // filedes
exit(0);
}
if(!num_filenames && !vcd_track && !dvd_title){
// no file/vcd/dvd -> show HELP:
printf("%s",help_text);
exit(0);
}
// Many users forget to include command line in bugreports...
if(verbose){
printf("CommandLine:");
for(i=1;i<argc;i++)printf(" '%s'",argv[i]);
printf("\n");
printf("num_filenames: %d\n",num_filenames);
}
#ifdef HAVE_GUI
}
#endif