changeset 2978:6be2873a5a91

banner + version printed
author arpi
date Sun, 18 Nov 2001 19:12:25 +0000
parents 28bcf0ca1448
children 6d341644ee28
files mencoder.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Sun Nov 18 18:58:03 2001 +0000
+++ b/mencoder.c	Sun Nov 18 19:12:25 2001 +0000
@@ -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"))){