diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-25 19:11:24 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-25 19:11:24 +0000 |
commit | a8c79a7c3006f39b5d1bd12a9bd8b43451a70daa (patch) | |
tree | 43e622679b66e216497b22f1ba8a9bc13f10ab91 | |
parent | 602b56b25222c19066d91e35ca9fcf876c3db1c7 (diff) |
-vo help fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1691 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | mplayer.c | 27 |
1 files changed, 14 insertions, 13 deletions
@@ -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 |