[graphics/krita] libs/ui/animation: [android] Default animation video export to true

Carsten Hartenfels <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 81f5bec71859e424b1015faf22328eaa31a9f077 by Carsten Hartenfels.
Committed on 27/07/2026 at 16:06.
Pushed by hartenfels into branch 'master'.

[android] Default animation video export to true

Because exporting frames on Android is slow, useless and clogs up your
recent images tab in the gallery. It makes more sense to default to
exporting videos there.

M  +6    -1    libs/ui/animation/KisAnimationRenderingOptions.cpp

https://invent.kde.org/graphics/krita/-/commit/81f5bec71859e424b1015faf22328eaa31a9f077

diff --git a/libs/ui/animation/KisAnimationRenderingOptions.cpp b/libs/ui/animation/KisAnimationRenderingOptions.cpp
index af441929b8e..d8fc0c7a494 100644
--- a/libs/ui/animation/KisAnimationRenderingOptions.cpp
+++ b/libs/ui/animation/KisAnimationRenderingOptions.cpp
@@ -125,7 +125,12 @@ void KisAnimationRenderingOptions::fromProperties(KisPropertiesConfigurationSP c
     sequenceStart = config->getPropertyLazy("sequence_start", 0);
     frameMimeType = config->getPropertyLazy("frame_mimetype", frameMimeType);
 
-    shouldEncodeVideo = config->getPropertyLazy("encode_video", false);
+#ifdef Q_OS_ANDROID
+    bool encodeVideoDefault = true;
+#else
+    bool encodeVideoDefault = false;
+#endif
+    shouldEncodeVideo = config->getPropertyLazy("encode_video", encodeVideoDefault);
 #ifndef Q_OS_ANDROID
     shouldDeleteSequence = config->getPropertyLazy("delete_sequence", false);
 #endif
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.