mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
9846cbdb13
commit
4cfac5bc51
5
ffplay.c
5
ffplay.c
@ -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)
|
|||||||
/* 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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user