aboutsummaryrefslogtreecommitdiff
path: root/fastiv-view.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-12-12 23:22:20 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-12-12 23:35:31 +0100
commit6c7d431e35ca100a733ed720f0431cd7822509e5 (patch)
tree09765bebf7e3da8986f6956cec8e6dd0076393fb /fastiv-view.c
parent006e547deba1e952d9de1a52d511edf9e6a8f07c (diff)
downloadfiv-6c7d431e35ca100a733ed720f0431cd7822509e5.tar.gz
fiv-6c7d431e35ca100a733ed720f0431cd7822509e5.tar.xz
fiv-6c7d431e35ca100a733ed720f0431cd7822509e5.zip
Finish WebP support with animations
Diffstat (limited to 'fastiv-view.c')
-rw-r--r--fastiv-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fastiv-view.c b/fastiv-view.c
index 3f5ae73..db11ae1 100644
--- a/fastiv-view.c
+++ b/fastiv-view.c
@@ -473,6 +473,8 @@ advance_animation(FastivView *self, GdkFrameClock *clock)
return FALSE;
// Do not busy loop. GIF timings are given in hundredths of a second.
+ // Note that browsers seem to do [< 10] => 100:
+ // https://bugs.webkit.org/show_bug.cgi?id=36082
if (duration == 0)
duration = gdk_frame_timings_get_refresh_interval(
gdk_frame_clock_get_current_timings(clock)) / 1000;