From 90037e7409df56acc5cb50a414c08b268e074bb0 Mon Sep 17 00:00:00 2001 From: arpi Date: Sun, 18 Nov 2001 19:12:25 +0000 Subject: [PATCH] banner + version printed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2979 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mencoder.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mencoder.c b/mencoder.c index 9c8c831295..c1c38a5cf6 100644 --- a/mencoder.c +++ b/mencoder.c @@ -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 @@ int num_filenames; //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"))){