[MPlayer-cvslog] CVS: main m_option.c, 1.37, 1.38 mplayer.c, 1.848, 1.849

Guillaume Poirier CVS syncmail at mplayerhq.hu
Tue Jun 21 01:07:37 CEST 2005


CVS change done by Guillaume Poirier CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv3405

Modified Files:
	m_option.c mplayer.c 
Log Message:
adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM en DASH directo POUM net>


Index: m_option.c
===================================================================
RCS file: /cvsroot/mplayer/main/m_option.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- m_option.c	17 Jun 2005 08:15:08 -0000	1.37
+++ m_option.c	20 Jun 2005 23:07:34 -0000	1.38
@@ -1539,6 +1539,8 @@
   if(!strcmp(param,"help")) {
     m_obj_list_t* ol = opt->priv;
     mp_msg(MSGT_VFILTER,MSGL_INFO,"Available video filters:\n");
+    if (identify)
+      mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_VIDEO_FILTERS\n");
     for(n = 0 ; ol->list[n] ; n++)
       mp_msg(MSGT_VFILTER,MSGL_INFO,"  %-15s: %s\n",
 	     M_ST_MB(char*,ol->list[n],ol->name_off),

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.848
retrieving revision 1.849
diff -u -r1.848 -r1.849
--- mplayer.c	9 Jun 2005 20:13:52 -0000	1.848
+++ mplayer.c	20 Jun 2005 23:07:34 -0000	1.849
@@ -1224,12 +1224,16 @@
 #endif
     if(audio_codec_list && strcmp(audio_codec_list[0],"help")==0){
       mp_msg(MSGT_CPLAYER, MSGL_INFO, MSGTR_AvailableAudioCodecs);
+      if (identify)
+        mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_AUDIO_CODECS\n");
       list_codecs(1);
       mp_msg(MSGT_FIXME, MSGL_FIXME, "\n");
       exit_player_with_rc(NULL, 0);
     }
     if(video_codec_list && strcmp(video_codec_list[0],"help")==0){
       mp_msg(MSGT_CPLAYER, MSGL_INFO, MSGTR_AvailableVideoCodecs);
+      if (identify)
+        mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_VIDEO_CODECS\n");
       list_codecs(0);
       mp_msg(MSGT_FIXME, MSGL_FIXME, "\n");
       exit_player_with_rc(NULL, 0);
@@ -2654,6 +2658,8 @@
     mp_cmd_t* cmd;
       if(!quiet) {
 	mp_msg(MSGT_CPLAYER,MSGL_STATUS,MSGTR_Paused);
+        if (identify)
+          mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_PAUSED\n");
 	fflush(stdout);
       }
 #ifdef HAVE_NEW_GUI




More information about the MPlayer-cvslog mailing list