summaryrefslogtreecommitdiffstats
path: root/ext/gdk_pixbuf/gstgdkanimation.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-11-11 22:43:24 +0000
committerBenjamin Otte <otte@gnome.org>2003-11-11 22:43:24 +0000
commitf3d2d6f938dd25176d63db65fb2a4524b6c63514 (patch)
tree90628dffb5adf335aea0af424519f29cf4cef713 /ext/gdk_pixbuf/gstgdkanimation.h
parentc72f2fd4ed56fa1a2aef0f55f8ca25429452bb2b (diff)
update GdkPixbuf loader. Fixes:
Original commit message from CVS: update GdkPixbuf loader. Fixes: - has a begin_load implementation - makes sure it only works when threads are enabled (this fixes segfaults with gtk 2.3) There are still some kinks though, feel free to hack on it :)
Diffstat (limited to 'ext/gdk_pixbuf/gstgdkanimation.h')
-rw-r--r--ext/gdk_pixbuf/gstgdkanimation.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/ext/gdk_pixbuf/gstgdkanimation.h b/ext/gdk_pixbuf/gstgdkanimation.h
index de5ce053..1ac48675 100644
--- a/ext/gdk_pixbuf/gstgdkanimation.h
+++ b/ext/gdk_pixbuf/gstgdkanimation.h
@@ -52,13 +52,13 @@ struct _GstGdkAnimation
gchar * temp_location;
/* file descriptor to temporary file or 0 if we're done writing */
int temp_fd;
- /* functions to notify the loader */
-
/* size of image */
gint width;
gint height;
gint bpp;
+ /* static image we use */
+ GdkPixbuf * pixbuf;
};
struct _GstGdkAnimationClass
@@ -66,9 +66,14 @@ struct _GstGdkAnimationClass
GdkPixbufAnimationClass parent_class;
};
-GType gst_gdk_animation_get_type (void);
+GType gst_gdk_animation_get_type (void);
+
+GstGdkAnimation * gst_gdk_animation_new (GError **error);
-GdkPixbufAnimation *gst_gdk_animation_new_from_file (FILE *f, GError **error);
+gboolean gst_gdk_animation_add_data (GstGdkAnimation * ani,
+ const guint8 * data,
+ guint size);
+void gst_gdk_animation_done_adding (GstGdkAnimation * ani);
#define GST_TYPE_GDK_ANIMATION_ITER (gst_gdk_animation_iter_get_type ())