[MPlayer-cvslog] CVS: main mplayer.c,1.871,1.872

Guillaume Poirier CVS syncmail at mplayerhq.hu
Mon Sep 19 18:33:41 CEST 2005


CVS change done by Guillaume Poirier CVS

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

Modified Files:
	mplayer.c 
Log Message:
Prints -identify output for:
- video codec of the current file;
- signal numbers;
- demuxer help header.
Patch by  kiriuja <mplayer DATH patches AH en DATH directo POIS net>


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.871
retrieving revision 1.872
diff -u -r1.871 -r1.872
--- mplayer.c	15 Sep 2005 03:08:35 -0000	1.871
+++ mplayer.c	19 Sep 2005 16:33:38 -0000	1.872
@@ -569,6 +569,8 @@
   mp_msg(MSGT_CPLAYER,MSGL_FATAL,"\n" MSGTR_IntBySignal,x,
       current_module?current_module:mp_gettext("unknown")
   );
+  if (identify)
+      mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_SIGNAL=%d\n", x);
   if(sig_count<=1)
   switch(x){
   case SIGINT:
@@ -2139,6 +2141,9 @@
 
 inited_flags|=INITED_VCODEC;
 
+if (identify && sh_video->codec)
+    mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_VIDEO_CODEC=%s\n", sh_video->codec->name);
+
 if(auto_quality>0){
     // Auto quality option enabled
     output_quality=get_video_quality_max(sh_video);




More information about the MPlayer-cvslog mailing list