Commit 6af778f5 authored by benoit's avatar benoit

Make ffplay show a banner at startup.

patch by Stefano Sabatini stefano sabatini-lala poste it


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10603 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 89339035
...@@ -37,6 +37,9 @@ ...@@ -37,6 +37,9 @@
#undef exit #undef exit
static const char program_name[] = "FFplay";
static const int program_birth_year = 2003;
//#define DEBUG_SYNC //#define DEBUG_SYNC
#define MAX_VIDEOQ_SIZE (5 * 256 * 1024) #define MAX_VIDEOQ_SIZE (5 * 256 * 1024)
...@@ -2513,6 +2516,8 @@ int main(int argc, char **argv) ...@@ -2513,6 +2516,8 @@ int main(int argc, char **argv)
/* register all codecs, demux and protocols */ /* register all codecs, demux and protocols */
av_register_all(); av_register_all();
show_banner(program_name, program_birth_year);
parse_options(argc, argv, options, opt_input_file); parse_options(argc, argv, options, opt_input_file);
if (!input_filename) { if (!input_filename) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment