Clément Bœsch a7c5b7a676 lavf/gif: correct the delay after the first frame.
To define accurately the delay between two frames, it is necessary to
have both available. Before this commit, the first frame had a delay of
0; while in practice the problem is not visible in most situation, it is
problematic with low frame rate and large scene change.

This commit notably fixes output generated with commands such as:

  ffmpeg -i big_buck_bunny_1080p_h264.mov
     -vf "select='gt(scene,0.4)',scale=320:-1,setpts=N/TB"
     -frames:v 5 -y out.gif

Also, to avoid odd loop delays, the N-1 delay is duplicated for the last
frame.
2013-04-19 12:02:19 +02:00
..
2013-01-03 19:35:02 +00:00
asf
2012-09-28 02:40:53 +02:00
ast
2012-12-04 11:25:46 +00:00
avi
2012-10-16 18:51:16 +02:00
bmp
caf
2012-10-26 03:12:45 +00:00
dpx
2013-03-15 21:09:36 +01:00
2013-01-08 18:47:09 +00:00
flm
2012-11-03 22:47:14 +01:00
gxf
2013-01-08 18:47:09 +00:00
2012-12-05 13:46:35 +00:00
2013-01-08 18:47:09 +00:00
mpg
2013-01-08 18:47:09 +00:00
mxf
2013-01-08 18:47:09 +00:00
ogg
2012-07-04 16:20:47 +02:00
pam
2012-11-05 14:59:31 +00:00
pcx
2012-10-13 09:07:12 +00:00
pgm
png
2012-10-13 16:02:09 +00:00
ppm
rm
2012-12-23 16:08:10 +01:00
rso
sgi
2012-11-05 11:22:53 +00:00
sox
tga
w64
2012-12-31 07:10:57 +00:00
wtv
2012-11-07 13:59:03 +01:00
xbm
2012-04-09 17:21:35 +02:00
xwd
2012-11-05 22:31:24 +00:00