[graphics/krita/krita/6.0] 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 bbf0888ffd8fdaae4ca40192cbaa238fd38472f3 by Carsten Hartenfels.
Committed on 27/07/2026 at 17:19.
Pushed by hartenfels into branch 'krita/6.0'.
[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/bbf0888ffd8fdaae4ca40192cbaa238fd38472f3
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