summaryrefslogtreecommitdiffstats
path: root/helper.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-12-16 19:46:34 +0100
committerArno <am@disconnect.de>2010-12-16 19:46:34 +0100
commit69bdaf5d1cdf2cb6a5da8371658e1c3995a71cfb (patch)
treee307f53d30b4ad59f6ab592c97adcf58008a8c6c /helper.h
parentc7bffca4cfc626c62c0eae6bc6b06d92cb2a8340 (diff)
downloadSheMov-69bdaf5d1cdf2cb6a5da8371658e1c3995a71cfb.tar.gz
SheMov-69bdaf5d1cdf2cb6a5da8371658e1c3995a71cfb.tar.bz2
SheMov-69bdaf5d1cdf2cb6a5da8371658e1c3995a71cfb.zip
Cache for frame grabbing
Implemetented a cache for hovering over movies, saving the pictures from ffmpeg. For that SmGlobals got a new member *frameCache, handling all the dirty file access. I first tried to implement it as a helper, but that produced too much duplicate code.
Diffstat (limited to 'helper.h')
-rw-r--r--helper.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/helper.h b/helper.h
index fb6ef1c..c9d1ad3 100644
--- a/helper.h
+++ b/helper.h
@@ -25,7 +25,6 @@ namespace Helper {
const QString createArchivePath(const QString &path, const QString &md5, bool withMd5 = false);
QPair<QString, QStringList> programData(const QString &prefix, const QString &preferred = QString());
const QString durationFromSecs(qint64 secs);
- const QPixmap grabFrame(const QString &file, QString when = QString());
class SortFileInfoList : public std::binary_function<QFileInfo, QFileInfo, bool> {
public:
bool operator()(const QFileInfo &lhs, const QFileInfo &rhs) const;