# HG changeset patch # User arpi # Date 1006110745 0 # Node ID 6be2873a5a914f4e2e902bff0b67f73272e3b3c7 # Parent 28bcf0ca1448e16a9ec2fc33dac733b9d1f24bc5 banner + version printed diff -r 28bcf0ca1448 -r 6be2873a5a91 mencoder.c --- 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"))){