diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2021-12-14 19:36:25 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-01-09 14:36:14 +0000 |
commit | fbdcfca085f65c402c9c660d6d5d097f357f43a1 (patch) | |
tree | a887b7aa06f072ccc2410aa2b4579c1bc1d39dcf /apps/plugins/imageviewer/gif | |
parent | 3adeae2026d016ab608b19e3e6e1c5a8a05b99be (diff) | |
download | rockbox-fbdcfca085f65c402c9c660d6d5d097f357f43a1.tar.gz rockbox-fbdcfca085f65c402c9c660d6d5d097f357f43a1.zip |
ImageViewer: Improve smoothness of animated gif playback
Don't disable grayscale overlay, don't show "resize" messages
between frames and and don't clear display unless actually
necessary
Change-Id: I9f501d8280ce0c8f26f4345088d805d1b84cf143
Diffstat (limited to 'apps/plugins/imageviewer/gif')
-rw-r--r-- | apps/plugins/imageviewer/gif/gif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/imageviewer/gif/gif.c b/apps/plugins/imageviewer/gif/gif.c index 31fd11d9a6..32c87c88d9 100644 --- a/apps/plugins/imageviewer/gif/gif.c +++ b/apps/plugins/imageviewer/gif/gif.c | |||
@@ -210,7 +210,7 @@ static int get_image(struct image_info *info, int frame, int ds) | |||
210 | /* assign image buffer */ | 210 | /* assign image buffer */ |
211 | if (ds > 1) | 211 | if (ds > 1) |
212 | { | 212 | { |
213 | if (!iv->running_slideshow) | 213 | if (!iv->running_slideshow && (info->frames_count == 1)) |
214 | { | 214 | { |
215 | rb->lcd_putsf(0, 3, "resizing %d*%d", info->width, info->height); | 215 | rb->lcd_putsf(0, 3, "resizing %d*%d", info->width, info->height); |
216 | rb->lcd_update(); | 216 | rb->lcd_update(); |