After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 572297 - Exposure of animation details of a GdkPixbufAnimation
Exposure of animation details of a GdkPixbufAnimation
Status: RESOLVED OBSOLETE
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other All
: Normal enhancement
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks:
 
 
Reported: 2009-02-18 17:47 UTC by Hagen Schink
Modified: 2018-05-22 13:09 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
The mentioned patch (7.62 KB, patch)
2009-02-18 17:49 UTC, Hagen Schink
needs-work Details | Review

Description Hagen Schink 2009-02-18 17:47:55 UTC
To handle an animation based on a GdkPixbufAnimation correctly we need to know the duration and the amount of frames. These information are already saved inside the private data structures of the backends that provide animation support. The following patch simply exposes these information.

The patch is tested for the gif backend but not for the ani and gdip backends.
Comment 1 Hagen Schink 2009-02-18 17:49:14 UTC
Created attachment 129003 [details] [review]
The mentioned patch
Comment 2 Hagen Schink 2009-02-18 17:59:26 UTC
This feature request has a connection to Bug 358109. At least the the get_animation_time should be considered useful. With "get_frame_count" it would also be possible to compute the right FPS.

Maybe this patch can move to 358109.
Comment 3 Christian Dywan 2009-04-03 16:33:03 UTC
You are missing documentation of the new functions.
Comment 4 Hagen Schink 2009-04-06 17:41:56 UTC
(In reply to comment #3)
> You are missing documentation of the new functions.
> 

Thanks for the hint, I'll have a look on this over Easter.
Comment 5 Bastien Nocera 2016-12-19 17:50:42 UTC
Review of attachment 129003 [details] [review]:

The patch needs to be git-formatted. Tests that check the results of those functions would also be useful in a separate patch.
Comment 6 GNOME Infrastructure Team 2018-05-22 13:09:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/19.