mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 18:32:53 +00:00
thumbnailers: prefix the ThumbnailerImageType enum in ffmpegthumbs thumbnailer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b548beaa82
commit
afc798f0ac
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue