[Mplayer-cvslog] CVS: main mencoder.c,1.26,1.27

Arpi of Ize arpi at mplayer.dev.hu
Sun Nov 18 20:12:30 CET 2001


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

Modified Files:
	mencoder.c 
Log Message:
banner + version printed

Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- mencoder.c	14 Nov 2001 11:16:45 -0000	1.26
+++ mencoder.c	18 Nov 2001 19:12:25 -0000	1.27
@@ -10,8 +10,14 @@
 
 #include "config.h"
 #include "mp_msg.h"
+#include "version.h"
 #include "help_mp.h"
 
+static char* banner_text=
+"\n\n"
+"MEncoder " VERSION "(C) 2000-2001 Arpad Gereoffy (see DOCS!)\n"
+"\n";
+
 #include "codec-cfg.h"
 
 #include "stream.h"
@@ -256,6 +262,7 @@
 //unsigned char* out_buffer=malloc(out_buffer_size);
 
   mp_msg_init(MSGL_STATUS);
+  mp_msg(MSGT_CPLAYER,MSGL_INFO,"%s",banner_text);
 
 // check codec.conf
 if(!parse_codec_cfg(get_path("codecs.conf"))){




More information about the MPlayer-cvslog mailing list