diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-05-19 21:44:03 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-05-19 21:44:03 +0000 |
commit | ed1ac0e2c68b9ad37590925ca965387854fcbbaa (patch) | |
tree | d030040226f67f2afe02e55b38ef848d7423d0b9 /gdk-pixbuf/io-gif-animation.h | |
parent | 69c19439725370e49f4f595bb987afde75effb84 (diff) | |
download | gtk+-ed1ac0e2c68b9ad37590925ca965387854fcbbaa.tar.gz |
Improve progressive loading from slow sources: (#107368)
2003-05-19 Matthias Clasen <maclas@gmx.de>
Improve progressive loading from slow sources: (#107368)
* io-gif-animation.c (gdk_pixbuf_gif_anim_get_iter): Initialize
first_loop_slowness.
(gdk_pixbuf_gif_anim_iter_advance): Don't wrap during loading if
the datasource falls behind the speed of the display.
* io-gif-animation.h: Add a loading flag to GdkPixbufGifAnim and
first_loop_slowness to GdkPixbufGifAnimIter.
Diffstat (limited to 'gdk-pixbuf/io-gif-animation.h')
-rw-r--r-- | gdk-pixbuf/io-gif-animation.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk-pixbuf/io-gif-animation.h b/gdk-pixbuf/io-gif-animation.h index 00172cc474..3e8e52287b 100644 --- a/gdk-pixbuf/io-gif-animation.h +++ b/gdk-pixbuf/io-gif-animation.h @@ -78,6 +78,7 @@ struct _GdkPixbufGifAnim { guchar bg_blue; int loop; + gboolean loading; }; struct _GdkPixbufGifAnimClass { @@ -113,6 +114,8 @@ struct _GdkPixbufGifAnimIter { gint position; GList *current_frame; + + gint first_loop_slowness; }; struct _GdkPixbufGifAnimIterClass { |