summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-25 19:11:24 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-25 19:11:24 +0000
commita8c79a7c3006f39b5d1bd12a9bd8b43451a70daa (patch)
tree43e622679b66e216497b22f1ba8a9bc13f10ab91 /mplayer.c
parent602b56b25222c19066d91e35ca9fcf876c3db1c7 (diff)
downloadmpv-a8c79a7c3006f39b5d1bd12a9bd8b43451a70daa.tar.bz2
mpv-a8c79a7c3006f39b5d1bd12a9bd8b43451a70daa.tar.xz
-vo help fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1691 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/mplayer.c b/mplayer.c
index 0b376013e0..0769745daa 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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