]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Make ffplay show a banner at startup.
authorbenoit <benoit@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 27 Sep 2007 13:52:33 +0000 (13:52 +0000)
committerbenoit <benoit@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 27 Sep 2007 13:52:33 +0000 (13:52 +0000)
patch by Stefano Sabatini stefano sabatini-lala poste it

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10603 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

ffplay.c

index 6ec1bcb34adf25f2fa80095866dff11e9cbc1657..06aa6ea18a25f1491a097c6365b9e90d5901aac0 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -37,6 +37,9 @@
 
 #undef exit
 
+static const char program_name[] = "FFplay";
+static const int program_birth_year = 2003;
+
 //#define DEBUG_SYNC
 
 #define MAX_VIDEOQ_SIZE (5 * 256 * 1024)
@@ -2513,6 +2516,8 @@ int main(int argc, char **argv)
     /* register all codecs, demux and protocols */
     av_register_all();
 
+    show_banner(program_name, program_birth_year);
+
     parse_options(argc, argv, options, opt_input_file);
 
     if (!input_filename) {