changeset 1690:09f9297d2ee6

-vo help fixed
author arpi
date Sat, 25 Aug 2001 19:11:24 +0000
parents 8f80b446b4e4
children 0679bc99888f
files mplayer.c
diffstat 1 files changed, 14 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sat Aug 25 19:03:11 2001 +0000
+++ b/mplayer.c	Sat Aug 25 19:11:24 2001 +0000
@@ -469,19 +469,6 @@
     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 @@
       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