[multimedia/kdenlive/release/26.08] src/bin: Ensure no audio is processed on thumbnail producers

Jean-Baptiste Mardelle <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 78a393ea262bed36acfe4bd1734eaf7b213576c6 by Jean-Baptiste Mardelle.
Committed on 18/08/2026 at 16:42.
Pushed by mardelle into branch 'release/26.08'.

Ensure no audio is processed on thumbnail producers

M  +1    -0    src/bin/projectclip.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/78a393ea262bed36acfe4bd1734eaf7b213576c6

diff --git a/src/bin/projectclip.cpp b/src/bin/projectclip.cpp
index 2a253d5703..ed27046e7b 100644
--- a/src/bin/projectclip.cpp
+++ b/src/bin/projectclip.cpp
@@ -855,6 +855,7 @@ std::unique_ptr<Mlt::Producer> ProjectClip::getThumbProducer(const QUuid &)
         cloneProps.pass_list(original, ClipController::getPassPropertiesList());
         thumbProd->set("audio_index", -1);
         thumbProd->set("astream", -1);
+        thumbProd->set("set.test_audio", 1);
         // Required to make get_playtime() return > 1
         thumbProd->set("out", thumbProd->get_length() - 1);
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.