Statistics
| Branch: | Revision:

ffmpeg / ffplay.c @ 0ae2a036

History | View | Annotate | Download (98.5 KB)

# Date Author Comment
f521746b 04/13/2011 08:06 AM Stefano Sabatini

ffplay: implement -showmode option

The new option allows to select the starting show mode.

f8b8c694 04/13/2011 08:06 AM Stefano Sabatini

ffplay: use symbolic constant values for show_audio

Also rename VideoState->show_audio to show_mode.
Improve readability.

8776f3d2 04/13/2011 08:06 AM Stefano Sabatini

ffplay: remove audio_write_get_buf_size() forward declaration

Move up the definition of audio_write_get_buf_size(), so that it is
defined before it is used. Simplify.

a6f395d6 04/13/2011 08:06 AM Stefano Sabatini

ffplay: avoid unnecessary intermediary struct in queue_picture()

When CONFIG_AVFILTER, use a AVFrame -> AVPicture cast rather than
explicitely copy the image information from AVFrame to a new
AVPicture.

Signed-off-by: Stefano Sabatini <>

c1d4bb57 04/13/2011 08:06 AM Stefano Sabatini

ffplay: remove unused field VideoState.dtg_active_format

Signed-off-by: Stefano Sabatini <>

05d33d86 04/13/2011 07:58 AM Carl Eugen Hoyos

Fix compilation with --disable-avfilter.

df149f6c 04/11/2011 11:37 PM Stefano Sabatini

ffplay: fix weird brace placement in video_image_display()

Signed-off-by: Stefano Sabatini <>

3338be24 04/11/2011 11:37 PM Stefano Sabatini

ffplay: rename output_picture2() to output_picture()

The "2" suffix is confusing.

Signed-off-by: Stefano Sabatini <>

1979d3b8 04/11/2011 11:37 PM Stefano Sabatini

ffplay: remove useless intermediary variable dst_pix_fmt in queue_picture()

Simplify.

Signed-off-by: Stefano Sabatini <>

eef16966 04/11/2011 11:37 PM Stefano Sabatini

ffplay: avoid forward declaration for packet_queue_put()

Define the function before it is used. Simplify.

Signed-off-by: Stefano Sabatini <>

91b27e49 04/11/2011 11:23 PM Stefano Sabatini

ffplay: compact expression in compute_mod()

Prefer "return X ? Y : Z" over "if (x) return Y; else return Z",
reduce line count.

Signed-off-by: Stefano Sabatini <>

dc172ecc 04/10/2011 08:33 PM Oskar Arvidsson

Add the notion of pixel size in h264 related functions.

In high bit depth the pixels will not be stored in uint8_t like in the
normal case, but in uint16_t. The pixel size is thus 1 in normal bit
depth and 2 in high bit depth.

Preparatory patch for high bit depth h264 decoding support....

c88caa52 04/08/2011 12:50 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    proto: include os_support.h in network.h
    matroskaenc: don't write an empty Cues element.
    lavc: add a FF_API_REQUEST_CHANNELS deprecation macro
    avio: move extern url_interrupt_cb declaration from avio.h to url.h...
f6d71b39 04/07/2011 10:20 PM Michael Niedermayer

ffplay: Set EMU_EDGE if dr1, this is an alternative fix for ticket40.
Idea borrowed from mplayer.
Signed-off-by: Michael Niedermayer <>

80c6e238 04/07/2011 04:11 PM Anton Khirnov

avio: avio_ prefix for url_set_interrupt_cb.

9f8008a9 04/06/2011 11:48 PM Michael Niedermayer

move image check down in ffplay.c
Signed-off-by: Michael Niedermayer <>

454fab72 04/06/2011 09:46 PM Michael Niedermayer

Disable dr1 in ffplay for svq1 (fixes ticket40)
Signed-off-by: Michael Niedermayer <>

8bce71df 04/06/2011 09:39 PM Michael Niedermayer

Check sizes a bit in ffplay, cant hurt.
Signed-off-by: Michael Niedermayer <>

648c7962 03/21/2011 07:08 PM Martin Storsjö

ffplay: Don't assume ic->pb is non-null

This fixes crashes on exit when plaing some RealRTSP streams
(among other), e.g.
rtsp://dl.lib.brown.edu:554/areserves/1093545294660883.mp3.
These crashes have been present since 3e68b3ba7b015cf21.

Signed-off-by: Ronald S. Bultje <>

c743a5e2 03/19/2011 04:30 PM Stefano Sabatini

ffplay: add braces around union definition

Fix warning:
ffplay.c: At top level:
ffplay.c:3027: warning: missing braces around initializer
ffplay.c:3027: warning: (near initialization for ‘options53.u’)

eb4d1cb9 03/19/2011 04:30 PM Stefano Sabatini

ffplay: add existence check on ic->pb in decode_thread()

Fix crash if ic->pb is NULL and ic->pb->error is evaluated. This
happens for example with: ffplay photo.jpeg.

2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

6947b0c4 03/15/2011 03:48 PM Michael Niedermayer

Merge remote-tracking branch 'newdev/master'

Merged-by: Michael Niedermayer <>

3e68b3ba 03/15/2011 12:04 PM Anton Khirnov

avio: deprecate url_ferror

AVIOContext.error should be used directly instead.

Signed-off-by: Ronald S. Bultje <>

0b82612d 03/10/2011 06:57 PM Michael Niedermayer

ffplay: Continue if the file was appended to.
This is a bit experimental

Signed-off-by: Michael Niedermayer <>

76d4c167 03/08/2011 04:34 PM Benjamin Larsson

Add a dummy option -i to ffplay so that it is easy to switch between ffmpeg -i "file" and ffplay -i "file".

Signed-off-by: Michael Niedermayer <>

db44ea96 03/08/2011 01:09 AM Anton Khirnov

avio: avio_ prefix for url_fsize

Signed-off-by: Ronald S. Bultje <>
(cherry picked from commit 76aa876e69cf78a40821e66dec0a1006e4eb23ec)

66e5b1df 03/07/2011 10:20 PM Anton Khirnov

avio: deprecate url_feof

AVIOContext.eof_reached should be used directly instead.

Signed-off-by: Ronald S. Bultje <>

76aa876e 03/07/2011 04:03 PM Anton Khirnov

avio: avio_ prefix for url_fsize

Signed-off-by: Ronald S. Bultje <>

384c9c2f 03/05/2011 01:29 AM Anton Khirnov

avio: add avio_tell macro as a replacement for url_ftell

Signed-off-by: Ronald S. Bultje <>
(cherry picked from commit a2704c9712ad35cc22e7e0d8a79b581c07fa383b)

a2704c97 03/04/2011 04:26 PM Anton Khirnov

avio: add avio_tell macro as a replacement for url_ftell

Signed-off-by: Ronald S. Bultje <>

0ebf4754 02/18/2011 06:52 PM Anton Khirnov

lavf: add av_ prefix to dump_format()

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 610219a598095f938705f200dfe3946455ef871a)

610219a5 02/16/2011 11:39 PM Anton Khirnov

lavf: add av_ prefix to dump_format()

Signed-off-by: Mans Rullgard <>

7ffe76e5 02/16/2011 10:00 PM Reinhard Tartler

Merge libavcore into libavutil

Done to keep ABI compatible. Otherwise this is just silly

737eb597 02/15/2011 03:18 PM Reinhard Tartler

Merge libavcore into libavutil

It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody...

9d375bf5 02/14/2011 10:58 PM Stefano Sabatini

Remove disabled legacy code in ffplay.

The code was setting aspect ratio from the DTG active format, and was
present and disabled since the creation of ffplay.

See thread:
Subject: [FFmpeg-devel] [PATCH] Cosmetics: adopt compact notation in
disabled code....

b7ec5cc4 02/14/2011 12:11 PM Stefano Sabatini

Remove disabled legacy code in ffplay.

The code was setting aspect ratio from the DTG active format, and was
present and disabled since the creation of ffplay.

See thread:
Subject: [FFmpeg-devel] [PATCH] Cosmetics: adopt compact notation in
disabled code....

d6705a27 02/11/2011 05:59 PM Nicolas George

ffplay: stats: do not dereference NULL video

Also: cosmetic: split this overly long line

043d2ff2 02/11/2011 01:54 AM Alexander Strange

Deprecate avcodec_thread_init()

As a side effect of the last commit, avcodec_open() now calls it automatically,
so there is no longer any need for clients to call it.
Instead they should set AVCodecContext.thread_count.

avcodec_thread_free() is deprecated, and will be removed from avcodec.h at the...

b38f008e 02/11/2011 01:53 AM Alexander Strange

Frame-based multithreading framework using pthreads

See doc/multithreading.txt for details on use in codecs.

Signed-off-by: Ronald S. Bultje <>

c0b102ca 02/09/2011 02:17 PM Alexander Strange

Deprecate avcodec_thread_init()

As a side effect of the last commit, avcodec_open() now calls it automatically,
so there is no longer any need for clients to call it.
Instead they should set AVCodecContext.thread_count.

avcodec_thread_free() is deprecated, and will be removed from avcodec.h at the...

37b00b47 02/09/2011 02:17 PM Alexander Strange

Frame-based multithreading framework using pthreads

See doc/multithreading.txt for details on use in codecs.

Signed-off-by: Ronald S. Bultje <>

76ad67ca 02/07/2011 06:32 PM Nicolas George

Implement guessed_pts in avcodec_decode_video2

Signed-off-by: Nicolas George <>
Signed-off-by: Michael Niedermayer <>

fd0ae17a 02/06/2011 07:31 PM Alexander Strange

Adopt pkt_dts/pkt_pts in lavc clients

No behavior change; this makes DTS reliable with the next patch.

Signed-off-by: Ronald S. Bultje <>
(cherry picked from commit 6b474953975fd8ea64d1ed4d09c42b2d8e787c6f)

ab543afe 02/06/2011 07:31 PM Stefano Sabatini

Make avfilter_graph_free() free the graph.

Make avfilter_graph_free() free not only the internal structures, but
also the allocated graph, and set the graph pointer to NULL for
increased safety.

Simplify usage.

Signed-off-by: Mans Rullgard <>...

6b474953 02/05/2011 09:37 PM Alexander Strange

Adopt pkt_dts/pkt_pts in lavc clients

No behavior change; this makes DTS reliable with the next patch.

Signed-off-by: Ronald S. Bultje <>

4359288c 02/04/2011 02:55 AM Stefano Sabatini

Make avfilter_graph_free() free the graph.

Make avfilter_graph_free() free not only the internal structures, but
also the allocated graph, and set the graph pointer to NULL for
increased safety.

Simplify usage.

Signed-off-by: Mans Rullgard <>

8904a0f1 02/04/2011 02:08 AM Stefano Sabatini

ffplay: factorize code from video_thread() into configure_video_filters()

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 75ea596de1145878a7603d5a3f269a9aac9ae30e)

75ea596d 02/02/2011 12:09 PM Stefano Sabatini

ffplay: factorize code from video_thread() into configure_video_filters()

Signed-off-by: Mans Rullgard <>

2fa1d7b3 01/31/2011 05:25 PM Stefano Sabatini

In ffplay:get_video_frame(), use frame->pkt_pts rather than reordered_opaque.

AVCodecContext.reordered_opaque is deprecated for this specific use.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 2855080447a226aba7e88e943fd8a8779d6daa98)

97b925ea 01/31/2011 05:25 PM Stefano Sabatini

ffplay: in video_thread(), use av_dlog() for timestamp logging.

Disable logging of rescaled timestamps if DEBUG is not enabled.
Avoid debug log spamming with -loglevel debug.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 13156f40e1f17ec1d0c57e6bf7a2850f673600c0)

28550804 01/30/2011 07:02 PM Stefano Sabatini

In ffplay:get_video_frame(), use frame->pkt_pts rather than reordered_opaque.

AVCodecContext.reordered_opaque is deprecated for this specific use.

Signed-off-by: Mans Rullgard <>

13156f40 01/30/2011 05:52 PM Stefano Sabatini

ffplay: in video_thread(), use av_dlog() for timestamp logging.

Disable logging of rescaled timestamps if DEBUG is not enabled.
Avoid debug log spamming with -loglevel debug.

Signed-off-by: Mans Rullgard <>

22f73157 01/23/2011 06:32 PM Stefano Sabatini

Remove outdated and confusing comment.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit db2ddd38859b26c0a4e4bf92619625cd7e0e7f42)

db2ddd38 01/22/2011 01:06 PM Stefano Sabatini

Remove outdated and confusing comment.

Signed-off-by: Mans Rullgard <>

d72858f8 01/17/2011 09:31 PM Stefano Sabatini

Merge two if (got_picture) {} blocks in ffplay.c:get_video_frame().

8f83a3b0 01/17/2011 09:04 PM Stefano Sabatini

Remove outcommented fossil code.

199c18a7 01/16/2011 05:26 PM Stefano Sabatini

Fix weird indent in get_video_frame().

Originally committed as revision 26390 to svn://svn.ffmpeg.org/ffmpeg/trunk

24d13ebc 01/15/2011 05:21 PM Stefano Sabatini

Reindent after the last commit.

Originally committed as revision 26372 to svn://svn.ffmpeg.org/ffmpeg/trunk

112c4b87 01/15/2011 05:21 PM Stefano Sabatini

In ffplay, do not open display if -nodisp is set.

Fixes issue 1017.

Originally committed as revision 26371 to svn://svn.ffmpeg.org/ffmpeg/trunk

d881a0e8 01/15/2011 01:28 AM Stefano Sabatini

Cosmetics: fix weird indent.

Originally committed as revision 26350 to svn://svn.ffmpeg.org/ffmpeg/trunk

393cbb96 01/07/2011 11:07 PM Michael Niedermayer

Add AVFrame.pkt_pts that contains the correctly reordered AVPacket.pts

Originally committed as revision 26260 to svn://svn.ffmpeg.org/ffmpeg/trunk

be732b70 12/28/2010 09:52 AM Nicolas George

Fix ffplay -an/-vn options that were swapped by r26105.

Originally committed as revision 26115 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ccabeea 12/27/2010 03:10 PM Michael Niedermayer

Support filters and decoders that dont support negative linesizes.
This patch is based on work by stefano.

Originally committed as revision 26108 to svn://svn.ffmpeg.org/ffmpeg/trunk

406f0f1b 12/27/2010 09:08 AM Nicolas George

Use av_find_best_stream in ffplay.

Originally committed as revision 26105 to svn://svn.ffmpeg.org/ffmpeg/trunk

037be76e 12/02/2010 08:12 PM Stefano Sabatini

Add avfilter_graph_create_filter().

Originally committed as revision 25862 to svn://svn.ffmpeg.org/ffmpeg/trunk

5d6e4c16 11/12/2010 11:04 AM Stefano Sabatini

Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
SampleFormat with AVSampleFormat.

Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk

1e80a0ea 11/07/2010 10:56 PM Stefano Sabatini

Remove graphparser.h header, move AVFilterInOut and
avfilter_graph_parse() declaration to libavfilter/avfiltergraph.h.

Simplify, and less confusing for the user.

Originally committed as revision 25705 to svn://svn.ffmpeg.org/ffmpeg/trunk

7313132b 11/07/2010 06:40 PM Stefano Sabatini

Rename AVFilterInOut field filter to filter_ctx, more semantically correct.

Originally committed as revision 25700 to svn://svn.ffmpeg.org/ffmpeg/trunk

97dd1e4a 11/04/2010 08:34 PM Stefano Sabatini

Rename avfilter_graph_destroy() to avfilter_graph_free().

The new name is shorter and more consistent with the rest of the API.

This change breaks libavfilter API/ABI.

Originally committed as revision 25674 to svn://svn.ffmpeg.org/ffmpeg/trunk

e15aeea6 11/04/2010 08:34 PM Stefano Sabatini

Implement avfilter_graph_alloc().

Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk

ba7d6e79 11/03/2010 08:19 PM Stefano Sabatini

Remove usage of deprecated libavcodec/audioconvert.h functions.

Originally committed as revision 25668 to svn://svn.ffmpeg.org/ffmpeg/trunk

ff0652e5 10/18/2010 01:57 PM Stefano Sabatini

Implement a common get_filtered_video_frame(), shared between ffplay.c
and ffmpeg.c.

Originally committed as revision 25520 to svn://svn.ffmpeg.org/ffmpeg/trunk

2a24df93 10/16/2010 10:20 AM Stefano Sabatini

Add avfilter_graph_config().

Originally committed as revision 25502 to svn://svn.ffmpeg.org/ffmpeg/trunk

f7ead94c 10/12/2010 06:40 PM Stefano Sabatini

Factorize definition of the output_filter defined in both ffplay.c and
ffmpeg.c.
Replace it with a more generic definition which can be shared.

Originally committed as revision 25453 to svn://svn.ffmpeg.org/ffmpeg/trunk

387b4ac9 10/12/2010 06:40 PM Stefano Sabatini

Fix timebase handling at the begin and at the end of the ffplay video
filterchain.

Set timebase in the ffplay input, and make get_filtered_video_frame()
rescale the output frames PTSes according to their timebase.

Originally committed as revision 25450 to svn://svn.ffmpeg.org/ffmpeg/trunk

72ae4aa1 10/12/2010 01:47 PM Stefano Sabatini

Do not pass an unused variable when initing filt_out. Less confusing.

Originally committed as revision 25448 to svn://svn.ffmpeg.org/ffmpeg/trunk

27d97fde 10/09/2010 05:50 PM Michael Chinen

Fix ffplay to keep calling av_read_frame even if EOF has been reached.

Patch by Michael Chinen, mchinen gmail

Originally committed as revision 25426 to svn://svn.ffmpeg.org/ffmpeg/trunk

a5c33faa 10/02/2010 08:44 AM Reimar Döffinger

Add init and uninit functions to cmdutils, reduces code duplication
between ffmpeg and ffplay and avoids a valgrind error by freeing
avformat_opts->key.

Originally committed as revision 25309 to svn://svn.ffmpeg.org/ffmpeg/trunk

0093ebc2 09/29/2010 11:06 PM Michael Niedermayer

User application side of Codec specific parameters.

Originally committed as revision 25266 to svn://svn.ffmpeg.org/ffmpeg/trunk

7a8bfa5d 09/28/2010 02:05 AM Alexander Strange

Extract timestamp correction code from ffplay.c to cmdutils.c

Originally committed as revision 25241 to svn://svn.ffmpeg.org/ffmpeg/trunk

6b6bca64 09/24/2010 03:39 PM Michael Niedermayer

Enable AV_LOG_SKIP_REPEATED to maintain previous behavior.

Originally committed as revision 25175 to svn://svn.ffmpeg.org/ffmpeg/trunk

f66eb58e 09/24/2010 12:51 AM Stefano Sabatini

Make ffplay -h show the settable AVOptions.

Originally committed as revision 25167 to svn://svn.ffmpeg.org/ffmpeg/trunk

4afbcf46 09/07/2010 09:23 PM Stefano Sabatini

Reindent.

Originally committed as revision 25068 to svn://svn.ffmpeg.org/ffmpeg/trunk

34017fd9 09/07/2010 09:23 PM Stefano Sabatini

Move av_picture_data_copy() to libavcore, and rename it
av_image_copy().

Originally committed as revision 25067 to svn://svn.ffmpeg.org/ffmpeg/trunk

91880e46 08/23/2010 09:12 PM Dave Yeo

Add _XOPEN_SOURCE definition for usleep().
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 24893 to svn://svn.ffmpeg.org/ffmpeg/trunk

aa78a6d6 08/17/2010 08:13 AM Carl Eugen Hoyos

Mention lowres if SDL can't provide the needed resolution.

Originally committed as revision 24802 to svn://svn.ffmpeg.org/ffmpeg/trunk

cb036f90 08/17/2010 07:47 AM Mike Scheutzow

Fix SDL crash on specific hardware.

Patch by Mike Scheutzow, mjs973 optonline net

Originally committed as revision 24801 to svn://svn.ffmpeg.org/ffmpeg/trunk

f7b8c814 08/17/2010 07:46 AM Mike Scheutzow

Move do_exit() up for upcoming patch.

Patch by Mike Scheutzow, mjs973 optonline net

Originally committed as revision 24800 to svn://svn.ffmpeg.org/ffmpeg/trunk

c1db7bff 08/11/2010 03:25 PM S.N. Hemanth Meenakshisunda...

Resize data and linesize in AVFilterBufferRef to 8.

This is required to make AVFilterBufferRef able to contain also audio
data, required by audio filtering integration.

Patch by S.N. Hemanth Meenakshisundaram smeen??.

Originally committed as revision 24773 to svn://svn.ffmpeg.org/ffmpeg/trunk

84c03869 08/11/2010 11:44 AM Stefano Sabatini

Change avfilter_open() signature, from:
AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name);
to:
int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name);

This way it is possible to propagate an error code telling the reason...

cc80caff 08/11/2010 11:06 AM S.N. Hemanth Meenakshisunda...

Separate video specific BufferRef properties into VideoProps.

Define a new struct AVFilterBufferRefVideoProps and add a type field
to AVFilterBufferRef.

Video specific properties in AVFilterBufferRefVideoProps are now
referred to by *video pointer in AVFilterBufferRef....

5d4890d7 08/07/2010 01:15 AM S.N. Hemanth Meenakshisunda...

Rename fields:

AVFilterLink.srcpic -> AVFilterLink.src_buf
AVFilterLink.cur_pic -> AVFilterLink.cur_buf
AVFilterLink.outpic -> AVFilterLink.out_buf

The new names are more generic and more consistent, since the struct
they contain, which was named AVFilterPicRef, has been renamed to...

7fce481a 08/07/2010 01:15 AM S.N. Hemanth Meenakshisunda...

Rename functions and fields:

avfilter_(un)ref_pic -> avfilter_(un)ref_buffer
avfilter_copy_picref_props -> avfilter_copy_buffer_ref_props
AVFilterBufferRef.pic -> AVFilterBufferRef.buffer

They have been renamed to allow sharing with audio.

Patch by S.N. Hemanth Meenakshisundaram $smeenaks$ucsd$edu$....

ecc8dada 08/07/2010 01:15 AM S.N. Hemanth Meenakshisunda...

Rename AVFilterPicRef to AVFilterBufferRef.

The struct is going to be used for storing audio buffer references as
well, and the new name is more generic.

Patch by S.N. Hemanth Meenakshisundaram smeenaks@ucsd@edu.

Originally committed as revision 24730 to svn://svn.ffmpeg.org/ffmpeg/trunk

d54e0948 08/07/2010 12:02 AM S.N. Hemanth Meenakshisunda...

Move format from AVFilterBuffer to AVFilterPicRef.

Patch by S.N. Hemanth Meenakshisundaram |smeenaks|ucsd|edu|.

Originally committed as revision 24728 to svn://svn.ffmpeg.org/ffmpeg/trunk

126b638e 07/26/2010 11:12 PM Stefano Sabatini

Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()
in favor of the newly added corresponding functions
av_parse_video_size() and av_parse_video_rate() defined in
libavcore/parseutils.h.

This change also adds a linking-time dependency of libavcodec and of...

e1d7c883 07/11/2010 07:35 AM Reimar Döffinger

Add avsubtitle_free function.

Originally committed as revision 24185 to svn://svn.ffmpeg.org/ffmpeg/trunk

00f72577 07/07/2010 06:14 PM Jai Menon

FFplay : Fix segfault when playing monoaural streams.

Originally committed as revision 24090 to svn://svn.ffmpeg.org/ffmpeg/trunk

066ce8c9 07/04/2010 12:43 PM Alexei Svitkine

Implement -onkeydown and -onmousedown options for ffplay.

Patch by Alexei Svitkine cout << name << "." << surname << "@" << "gmail.com".

See thread:
Subject: [FFmpeg-devel] new command-line option for ffplay
Date: Wed, 23 Jun 2010 09:13:50 -0400

Originally committed as revision 24037 to svn://svn.ffmpeg.org/ffmpeg/trunk