diff --git a/ChangeLog b/ChangeLog index 9ea7774b3cda11d09e266ebbe44288bd82eb2176..b347b9493d4ac22385c3e3f50c4193ab8eddcfcc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ git HEAD * Add R, * and / aliases for , and - * Try to convert unloadable files with imagemagick for up to 6 seconds + * Try to convert unloadable files with imagemagick for up to 5 seconds * Add --magick-timeout option to set imagemagick conversion timeout or disable it altogether * Clean up temporary / to-delete files when receiveng SIG{INT,TERM,QUIT} diff --git a/man/feh.pre b/man/feh.pre index ecd35ecc818105b5ce51a731807f1c772001785b..f97434dad39d8afcb7b726170665f042bf253134 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -385,6 +385,15 @@ Don't display images. Just print out their names if imlib2 can successfully load them. Returns false if at least one image failed to load. . +.It Cm --magick-timeout Ar timeout +. +Stop trying to convert unloadable files after +.Ar timeout +seconds. A negative value disables covert / magick support altogether, a value +of zero causes +.Nm +to try indefinitely. Default timeout is 5 seconds. +. .It Cm -M , --menu-font Ar font . Use diff --git a/src/options.c b/src/options.c index a2770037fd39011e53861554d06f890c49f62666..0d4d7452541717a1ed18ba355c68574804d424e6 100644 --- a/src/options.c +++ b/src/options.c @@ -53,7 +53,7 @@ void init_parse_options(int argc, char **argv) opt.display = 1; opt.aspect = 1; opt.slideshow_delay = 0.0; - opt.magick_timeout = 10; + opt.magick_timeout = 5; opt.thumb_w = 60; opt.thumb_h = 60; opt.thumb_redraw = 10;