change default GIF frame delay from 1s to 0.1s
This is the delay if the GCB is missing. See https://github.com/libvips/libvips/issues/2582
This commit is contained in:
parent
65d84d1cbe
commit
9420911ba8
@ -3,6 +3,7 @@
|
||||
- win: don't set create time on inappropriate file descriptors [lovell]
|
||||
- fall back to magicksave for gif if cgif is not present [erik-frontify]
|
||||
- fix a crash with 0 length vectors
|
||||
- change default frame delay for GIFs from 1s to 0.1s
|
||||
|
||||
21/11/21 started 8.12.1
|
||||
- fix insert [chregu]
|
||||
|
11
libvips/foreign/libnsgif/default-frame-delay.patch
Normal file
11
libvips/foreign/libnsgif/default-frame-delay.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- libnsgif.orig.c 2021-12-18 17:58:43.829719505 +0000
|
||||
+++ libnsgif.c 2021-12-18 17:58:47.773783438 +0000
|
||||
@@ -1003,7 +1003,7 @@
|
||||
frame->frame_pointer = gif->buffer_position;
|
||||
frame->redraw_required = false;
|
||||
frame->disposal_method = 0;
|
||||
- frame->frame_delay = 100;
|
||||
+ frame->frame_delay = 10;
|
||||
frame->display = false;
|
||||
frame->virgin = true;
|
||||
}
|
@ -295,7 +295,7 @@ static gif_result gif_initialise_frame(gif_animation *gif)
|
||||
gif->frames[frame].virgin = true;
|
||||
gif->frames[frame].disposal_method = 0;
|
||||
gif->frames[frame].transparency = false;
|
||||
gif->frames[frame].frame_delay = 100;
|
||||
gif->frames[frame].frame_delay = 10;
|
||||
gif->frames[frame].redraw_required = false;
|
||||
|
||||
/* Invalidate any previous decoding we have of this frame */
|
||||
|
Loading…
Reference in New Issue
Block a user