[FFmpeg-devel] [PATCH 3/3] ffplay integration for seek api

Michael Niedermayer michaelni
Tue Aug 17 14:18:57 CEST 2010


On Fri, Aug 13, 2010 at 08:15:23AM +0200, Michael Chinen wrote:
> $subj

>  ffplay.c |   74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 74 insertions(+)
> e58f5a2de15bd451e349756727bd66da88f7621f  0003-ffplay-integration-for-seek-api.patch
> From d967a186a6841ee818a1e7cbda4b88ece0e57e10 Mon Sep 17 00:00:00 2001
> From: Michael Chinen <mchinen at gmail.com>
> Date: Fri, 13 Aug 2010 05:49:02 +0200
> Subject: [PATCH 3/3] ffplay integration for seek api
> 
> ---
>  ffplay.c |   74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 74 insertions(+), 0 deletions(-)
> 
> diff --git a/ffplay.c b/ffplay.c
> index fa3def1..b7dcc52 100644
> --- a/ffplay.c
> +++ b/ffplay.c
> @@ -224,6 +224,9 @@ static int audio_write_get_buf_size(VideoState *is);
>  /* options specified by the user */
>  static AVInputFormat *file_iformat;
>  static const char *input_filename;
> +static const char *index_load_filename;
> +static const char *index_save_filename;
> +static char *index_filename = NULL;
>  static const char *window_title;
>  static int fs_screen_width;
>  static int fs_screen_height;

> @@ -265,6 +268,11 @@ static int exit_on_keydown;
>  static int exit_on_mousedown;
>  static int loop=1;
>  static int framedrop=1;
> +static int build_table    = 0;
> +static int parallel_table = 0;
> +static int load_table     = 0;
> +static int save_table     = 0;
> +static int cbr_table      = 0;

the = 0 are redundant


>  
>  static int rdftspeed=20;
>  #if CONFIG_AVFILTER
> @@ -2369,6 +2377,28 @@ static int decode_interrupt_cb(void)
>      return (global_video_state && global_video_state->abort_request);
>  }
>  
> +static int build_index_thread(void *arg)

doxy: build index and safe to file or something

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Incandescent light bulbs waste a lot of energy as heat so the EU forbids them.
Their replacement, compact fluorescent lamps, much more expensive, dont fit in
many old lamps, flicker, contain toxic mercury, produce a fraction of the light
that is claimed and in a unnatural spectrum rendering colors different than
in natural light. Ah and we now need to turn the heaters up more in winter to
compensate the lower wasted heat. Who wins? Not the environment, thats for sure
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100817/8fa3fb09/attachment.pgp>



More information about the ffmpeg-devel mailing list