summaryrefslogtreecommitdiffstats
path: root/core/videoframeextractor.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-07-05 21:49:29 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-07-11 00:24:23 +0900
commit92dc441f02c73a972dddf9076e438f19b03708b8 (patch)
treecb2ab8a40fe2976219a0a3284400482d7dc475f0 /core/videoframeextractor.cpp
parent66a5b394d762a1a24723438fca3ce3aea27e43ad (diff)
downloadsubsurface-92dc441f02c73a972dddf9076e438f19b03708b8.tar.gz
Thumbnailer: improve error message
In the error messages shown when failing to start ffmpeg, instruct the user to set the correct executable in the preferences. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/videoframeextractor.cpp')
-rw-r--r--core/videoframeextractor.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/videoframeextractor.cpp b/core/videoframeextractor.cpp
index c4e16a81b..daed29dc3 100644
--- a/core/videoframeextractor.cpp
+++ b/core/videoframeextractor.cpp
@@ -90,13 +90,11 @@ void VideoFrameExtractor::processItem(QString originalFilename, QString filename
// Since we couldn't sart ffmpeg, turn off thumbnailing
// TODO: call the proper preferences-functions
prefs.extract_video_thumbnails = false;
- report_error(qPrintable(tr("ffmpeg failed to start - video thumbnail creation suspended")));
- qDebug() << "Failed to start ffmpeg";
+ report_error(qPrintable(tr("ffmpeg failed to start - video thumbnail creation suspended. To enable video thumbnailing, set working executable in preferences.")));
return fail(originalFilename, duration, false);
}
if (!ffmpeg.waitForFinished()) {
- qDebug() << "Failed waiting for ffmpeg";
- report_error(qPrintable(tr("failed waiting for ffmpeg - video thumbnail creation suspended")));
+ report_error(qPrintable(tr("Failed waiting for ffmpeg - video thumbnail creation suspended. To enable video thumbnailing, set working executable in preferences.")));
return fail(originalFilename, duration, false);
}