[Ffmpeg-devel] Animated GIF looping
Todd Kirby
ffmpeg.php
Thu Jun 2 23:35:17 CEST 2005
On 6/2/05, Michael Niedermayer <michaelni at gmx.at> wrote:
> Hi
>
> On Thursday 02 June 2005 09:51, Todd Kirby wrote:
> > This patch adds the following option to ffmpeg:
> >
> > -gifloop number of times to loop animated gifs (0 loops forever)
>
> i dont see why this has to be gif specific, so it shouldnt contain gif in its
> name
I wasn't aware of other image formats that support this and there was
already an option called loop. The other loop option seems to deal
with input images so I guess this one could be called loop_output.
>
>
> >
> > It is based on a previous patch by Rob Coenen.
> [...]
>
>
> > +int gif_loop_count = -1;
>
> pasing this with a global variable is unaceptable
Seemed ugly to me too, but that's how the other loop option was
getting passed so I copied it. What is the preferred way to pass
options to libavformat modules?
>
> [...]
> --
> Michael
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list