summaryrefslogtreecommitdiffstats
path: root/tests/ref/lavf/gif
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-04-19 04:02:12 +0200
committerClément Bœsch <ubitux@gmail.com>2013-04-19 12:02:19 +0200
commita7c5b7a6764b5170515183716943a7a463161cfc (patch)
tree007b829ea423aac0ed8871283e6ff452c3667d86 /tests/ref/lavf/gif
parentb63f7b3ac7b95032ae8c3e074f26b6c6158582da (diff)
downloadffmpeg-streaming-a7c5b7a6764b5170515183716943a7a463161cfc.zip
ffmpeg-streaming-a7c5b7a6764b5170515183716943a7a463161cfc.tar.gz
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.
Diffstat (limited to 'tests/ref/lavf/gif')
-rw-r--r--tests/ref/lavf/gif4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ref/lavf/gif b/tests/ref/lavf/gif
index f66d05f..531cd1e 100644
--- a/tests/ref/lavf/gif
+++ b/tests/ref/lavf/gif
@@ -1,3 +1,3 @@
-c886d22859c033b2b0fe2d63ffcf8aef *./tests/data/lavf/lavf.gif
+e35f5ea283bbcb249818e0078ec72664 *./tests/data/lavf/lavf.gif
2011766 ./tests/data/lavf/lavf.gif
-./tests/data/lavf/lavf.gif CRC=0xdca4429c
+./tests/data/lavf/lavf.gif CRC=0x0dc5477c
OpenPOWER on IntegriCloud