aboutsummaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorStefano Sabatini2007-09-27 13:52:33 +0000
committerBenoit Fouet2007-09-27 13:52:33 +0000
commit4cfac5bc51cb644195573810515f1fe6cfda73cd (patch)
tree8f711141cae36b03b9bd59fd7b0748838e0ed863 /ffplay.c
parent9846cbdb13023ee506040a387c676a1c3a53606b (diff)
Make ffplay show a banner at startup.
patch by Stefano Sabatini stefano sabatini-lala poste it Originally committed as revision 10603 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index 6ec1bcb34a..06aa6ea18a 100644
--- 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) {