[Mplayer-cvslog] CVS: main help_mp-en.h,1.50,1.51 mplayer.c,1.556,1.557

Arpi of Ize arpi at mplayerhq.hu
Sat Aug 31 15:09:25 CEST 2002


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

Modified Files:
	help_mp-en.h mplayer.c 
Log Message:
-afm/-vfm help implemenetd, some cosmetics of ad/vd codec names/comments


Index: help_mp-en.h
===================================================================
RCS file: /cvsroot/mplayer/main/help_mp-en.h,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- help_mp-en.h	31 Aug 2002 09:45:42 -0000	1.50
+++ help_mp-en.h	31 Aug 2002 13:09:22 -0000	1.51
@@ -127,6 +127,8 @@
 #define MSGTR_AvailableAudioOutputDrivers "Available audio output drivers:\n"
 #define MSGTR_AvailableAudioCodecs "Available audio codecs:\n"
 #define MSGTR_AvailableVideoCodecs "Available video codecs:\n"
+#define MSGTR_AvailableAudioFm "\nAvailable (compiled-in) audio codec families/drivers:\n"
+#define MSGTR_AvailableVideoFm "\nAvailable (compiled-in) video codec families/drivers:\n"
 #define MSGTR_UsingRTCTiming "Using Linux's hardware RTC timing (%ldHz)\n"
 #define MSGTR_CannotReadVideoPropertiers "Video: can't read properties\n"
 #define MSGTR_NoStreamFound "No stream found\n"

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.556
retrieving revision 1.557
diff -u -r1.556 -r1.557
--- mplayer.c	30 Aug 2002 21:44:04 -0000	1.556
+++ mplayer.c	31 Aug 2002 13:09:22 -0000	1.557
@@ -639,6 +639,16 @@
       printf("\n");
       exit(0);
     }
+    if(video_fm && strcmp(video_fm,"help")==0){
+      vfm_help();
+      printf("\n");
+      exit(0);
+    }
+    if(audio_fm && strcmp(audio_fm,"help")==0){
+      afm_help();
+      printf("\n");
+      exit(0);
+    }
 
 
     if(!filename && !vcd_track && !dvd_title && !dvd_nav && !tv_param_on){




More information about the MPlayer-cvslog mailing list