tags 887790 + patch
thanks

Found the commit responsible via git bisect.

commit 9be75e3431104d6a3a0c80324a8e3ac60316be13
Author: Tomasz Golinski <toma...@math.uwb.edu.pl>
Date:   Thu Sep 14 10:38:09 2017 +0100

    Addl #510: Rudimentary video support
https://github.com/BestImageViewer/geeqie/issues/510 Add video files extension to default file filter (disabled by default).
    Use recorded format_class in fd in metadata.c
    Do not try to generate/read thumb for files which are not images.


And the attached patch appears to fix.
commit 9b9c916a82dde298ce2ba084c8fb7ba6dad5fa90
Author: Anthony DeRobertis <anth...@derobert.net>
Date:   Fri Jan 19 18:16:09 2018 -0500

    Thumbnail all files if filtering is disabled.
    
    If the user has disabled filtering by file extension, then we should
    also disable that filtering when generating/loading thumbnails. Fixes
    regression from 9be75e3431104d6a3a0c80324a8e3ac60316be13.

diff --git a/src/thumb.c b/src/thumb.c
index 96b71f8b..cdd4e550 100644
--- a/src/thumb.c
+++ b/src/thumb.c
@@ -337,7 +337,7 @@ gboolean thumb_loader_start(ThumbLoader *tl, FileData *fd)
 
 	if (!tl->fd) tl->fd = file_data_ref(fd);
 
-	if (tl->fd->format_class != FORMAT_CLASS_IMAGE && tl->fd->format_class != FORMAT_CLASS_RAWIMAGE && tl->fd->format_class != FORMAT_CLASS_VIDEO)
+	if (tl->fd->format_class != FORMAT_CLASS_IMAGE && tl->fd->format_class != FORMAT_CLASS_RAWIMAGE && tl->fd->format_class != FORMAT_CLASS_VIDEO && !options->file_filter.disable)
 		{
 		thumb_loader_set_fallback(tl);
 		return FALSE;
diff --git a/src/thumb_standard.c b/src/thumb_standard.c
index 9deb5947..f068ed0d 100644
--- a/src/thumb_standard.c
+++ b/src/thumb_standard.c
@@ -668,7 +668,7 @@ gboolean thumb_loader_std_start(ThumbLoaderStd *tl, FileData *fd)
 
 
 	tl->fd = file_data_ref(fd);
-	if (!stat_utf8(fd->path, &st) || (tl->fd->format_class != FORMAT_CLASS_IMAGE && tl->fd->format_class != FORMAT_CLASS_RAWIMAGE && tl->fd->format_class != FORMAT_CLASS_VIDEO))
+	if (!stat_utf8(fd->path, &st) || (tl->fd->format_class != FORMAT_CLASS_IMAGE && tl->fd->format_class != FORMAT_CLASS_RAWIMAGE && tl->fd->format_class != FORMAT_CLASS_VIDEO && !options->file_filter.disable))
 		{
 		thumb_loader_std_set_fallback(tl);
 		return FALSE;

Reply via email to