From 6043d8560c46b9d773f21a81ec209281f5d63b76 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Tue, 23 Aug 2016 18:33:50 -0700 Subject: [PATCH] o Choose a more sensible default for multiple animated gifs. Instead of a time-limit (which by default is 1.5 seconds), make them loop once. Fixes #201 --- utils/led-image-viewer.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/led-image-viewer.cc b/utils/led-image-viewer.cc index 9382cc2..5ed9a18 100644 --- a/utils/led-image-viewer.cc +++ b/utils/led-image-viewer.cc @@ -243,9 +243,9 @@ int main(int argc, char *argv[]) { else if (filename_count > 1 && loops < 0 && anim_duration_ms == distant_future) { // More than one image but parameters for animations are default ? Set them - // to requested wait time, otherwise the first animation would just run - // forever. - anim_duration_ms = wait_ms; + // to default loop only once, otherwise the first animation would just run + // forever, stopping all the images after it. + loops = 1; } if (matrix == NULL)