From 92dc441f02c73a972dddf9076e438f19b03708b8 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 5 Jul 2019 21:49:29 +0200 Subject: 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 --- core/videoframeextractor.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'core') 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); } -- cgit v1.2.3-70-g09d2