[FFmpeg-cvslog] r10603 - trunk/ffplay.c
benoit
subversion
Thu Sep 27 15:52:33 CEST 2007
Author: benoit
Date: Thu Sep 27 15:52:33 2007
New Revision: 10603
Log:
Make ffplay show a banner at startup.
patch by Stefano Sabatini stefano sabatini-lala poste it
Modified:
trunk/ffplay.c
Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c (original)
+++ trunk/ffplay.c Thu Sep 27 15:52:33 2007
@@ -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) {
More information about the ffmpeg-cvslog
mailing list