GNOME Bugzilla – Bug 437791
Animation is played at the wrong speed
Last modified: 2010-07-10 04:07:26 UTC
See the GIF at this url: http://www.vulomedia.com/images/59546playingwii.gif (he IS playing Wii). In Firefox and Epiphany the animation runs at about 12 fps. But if you view it in gThumb it will play extremely fast. This is because gThumb uses GdkPixbufAnimation which has a bug which is causing this. It reports that the delay time for each frame is 20 milliseconds which is obviously wrong. Severity major because there are a huge amounts of GIF:s like that.
well, gdk-pixbuf only uses 20ms if the gif has an even more obviously wrong value of 0ms ...
Seems like that is the case with this file.. Then I'd like one of the following to happen: 1. The fallback delay to be changed to match Firefox. 2. GdkPixbufAnimation extended in some way so it is possible for applications to detect GIF animations with 0 ms delays. Then I could myself set a more reasonable delay for "broken" GIF:s.
Ok, I'll break down here and admit that I don't mind changing the fallback value from 20 to 100.
I can definitely confirm this bug. It happens with every animated GIF which specifies a 0 ms delay. I agree with the above comment: the fallback value should be incresed to 100 ms, both to match Firefox (and possibly other systems) and to provide a more reasonable default.
Created attachment 117286 [details] [review] Translate 0ms delay to 100ms This works
Committed to r21242: 2008-08-29 Björn Lindqvist <bjourne@gmail.com> Bug 437791 – Animation is played at the wrong speed * gdk-pixbuf/io-gif.c (gif_get_lzw): Better 100 ms timeout for broken GIFs with 0 frame timeout.
*** Bug 537619 has been marked as a duplicate of this bug. ***