Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

[android] Default animation video export to true

Carsten Hartenfels81f5bec71859
diff --git a/libs/ui/animation/KisAnimationRenderingOptions.cpp b/libs/ui/animation/KisAnimationRenderingOptions.cpp
index af441929b8..d8fc0c7a49 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