[vlc-devel] [RFC 11/82] ml: Thumbnailer: Temporarilyy disable hardware decoders for thumbnailing
Pierre Lamot
pierre at videolabs.io
Fri Feb 1 14:01:15 CET 2019
---
modules/misc/medialibrary/Thumbnailer.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/misc/medialibrary/Thumbnailer.cpp b/modules/misc/medialibrary/Thumbnailer.cpp
index 604f9932eb..ffb8201459 100644
--- a/modules/misc/medialibrary/Thumbnailer.cpp
+++ b/modules/misc/medialibrary/Thumbnailer.cpp
@@ -75,6 +75,7 @@ bool Thumbnailer::generate( medialibrary::MediaPtr media, const std::string& mrl
if ( unlikely( ctx.item == nullptr ) )
return false;
+ input_item_AddOption( ctx.item, "no-hwdec", VLC_INPUT_OPTION_TRUSTED );
ctx.done = false;
{
vlc::threads::mutex_locker lock( ctx.mutex );
--
2.19.1
More information about the vlc-devel
mailing list