projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d232acf
)
Fix #571: Huge performance hit when enabling animation
author
Tomasz Golinski
<tomaszg@math.uwb.edu.pl>
Wed, 3 Jan 2018 16:10:35 +0000
(16:10 +0000)
committer
Colin Clark
<colin.clark@cclark.uk>
Wed, 3 Jan 2018 16:10:35 +0000
(16:10 +0000)
https://github.com/BestImageViewer/geeqie/issues/571
Check for animation only on gif files.
src/layout_image.c
patch
|
blob
|
history
diff --git
a/src/layout_image.c
b/src/layout_image.c
index
ade67a3
..
39a5800
100644
(file)
--- a/
src/layout_image.c
+++ b/
src/layout_image.c
@@
-342,7
+342,7
@@
static gboolean layout_image_animate_check(LayoutWindow *lw)
{
if (!layout_valid(&lw)) return FALSE;
- if(!lw->options.animate || lw->image->image_fd == NULL)
+ if(!lw->options.animate || lw->image->image_fd == NULL
|| lw->image->image_fd->extension == NULL || g_ascii_strcasecmp(lw->image->image_fd->extension,".GIF")!=0
)
{
if(lw->animation)
{