From 1bcbb69e31090cf71e913419299b52dd4d094bef Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 29 Mar 2013 12:55:36 +0100 Subject: Make FrameCache threaded create snapshot pics in a separate thread. Also use the first frame available if the clip isn't long enough for the configured frame. --- shemov.pro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'shemov.pro') diff --git a/shemov.pro b/shemov.pro index d98d469..d62cd41 100644 --- a/shemov.pro +++ b/shemov.pro @@ -41,7 +41,8 @@ SOURCES = main.cpp \ pictureviewer2.cpp \ picfilesmodel.cpp \ smdirwatcher.cpp \ - smdirmodel.cpp + smdirmodel.cpp \ + framecache.cpp HEADERS = \ filesystemdirproxy.h \ filesystemwidget.h \ @@ -78,6 +79,7 @@ HEADERS = \ pictureviewer2.h \ picfilesmodel.h \ smdirwatcher.h \ - smdirmodel.h + smdirmodel.h \ + framecache.h LIBS += -lmagic -lXfixes -lX11 RESOURCES = shemov.qrc -- cgit v1.2.3-70-g09d2