[Mplayer-cvslog] CVS: main mplayer.c,1.238,1.239

Arpi of Ize arpi at mplayer.dev.hu
Sat Aug 25 21:11:27 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv4936

Modified Files:
	mplayer.c 
Log Message:
-vo help fixed

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.238
retrieving revision 1.239
diff -u -r1.238 -r1.239
--- mplayer.c	24 Aug 2001 05:52:08 -0000	1.238
+++ mplayer.c	25 Aug 2001 19:11:24 -0000	1.239
@@ -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){
@@ -504,6 +491,20 @@
       }
       printf("\n");
       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




More information about the MPlayer-cvslog mailing list