summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-10-22 18:31:54 +0200
committerBastien Nocera <hadess@hadess.net>2014-10-22 18:32:19 +0200
commitfcefaba236daa078be81e12c3270c4d1fda6c633 (patch)
tree64bb64a3706c8f144134456d99ba5fc264166d0a /gdk-pixbuf
parentde9338004126415873d2db41d0fb9b41858c2d31 (diff)
downloadgdk-pixbuf-fcefaba236daa078be81e12c3270c4d1fda6c633.tar.gz
lib: Add note about min timeout in GIF being 20 msecs
https://bugzilla.gnome.org/show_bug.cgi?id=544884
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-animation.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-animation.c b/gdk-pixbuf/gdk-pixbuf-animation.c
index a684b8776..4d0765336 100644
--- a/gdk-pixbuf/gdk-pixbuf-animation.c
+++ b/gdk-pixbuf/gdk-pixbuf-animation.c
@@ -723,6 +723,10 @@ gdk_pixbuf_animation_iter_init (GdkPixbufAnimationIter *iter)
* conveniently takes a timeout in milliseconds, so you can use a timeout
* to schedule the next update.
*
+ * Note that some formats, like GIF, might clamp the timeout values in the
+ * image file to avoid updates that are just too quick. The minimum timeout
+ * for GIF images is currently 20 milliseconds.
+ *
* Return value: delay time in milliseconds (thousandths of a second)
**/
int