From afc798f0acfd1a2aefdd9c2020b4102c96ac7b14 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Sun, 18 Dec 2022 12:11:28 +0000 Subject: [PATCH] thumbnailers: prefix the ThumbnailerImageType enum in ffmpegthumbs thumbnailer Signed-off-by: Ivailo Monev --- thumbnailers/ffmpegthumbs/ffmpegthumbnailer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thumbnailers/ffmpegthumbs/ffmpegthumbnailer.cpp b/thumbnailers/ffmpegthumbs/ffmpegthumbnailer.cpp index b6752be4..408aafb6 100644 --- a/thumbnailers/ffmpegthumbs/ffmpegthumbnailer.cpp +++ b/thumbnailers/ffmpegthumbs/ffmpegthumbnailer.cpp @@ -47,7 +47,7 @@ bool FFMpegThumbnailer::create(const QString& path, int width, int /*heigth*/, Q //Smart frame selection is very slow compared to the fixed detection //TODO: Use smart detection if the image is single colored. //m_Thumbnailer.setSmartFrameSelection(true); - m_Thumbnailer.generateThumbnail(std::string(path.toUtf8()), Png, pixelBuffer); + m_Thumbnailer.generateThumbnail(std::string(path.toUtf8()), ThumbnailerImageType::Png, pixelBuffer); } catch(std::exception &err) { kWarning() << err.what(); return false;