]> git.sesse.net Git - kdenlive/blobdiff - src/documentvalidator.h
Tell MLT the maximum number of threads we might need for avformat producer
[kdenlive] / src / documentvalidator.h
index 680af5467023e79d82b9ce9a1774e76e3ed70a36..5708f5fcae38ec466b7fbbe538aac399ec8620c1 100644 (file)
@@ -24,6 +24,9 @@
 #include <QDomDocument>
 #include <QColor>
 
+class QScriptValue;
+
+
 class DocumentValidator
 {
 
@@ -34,10 +37,16 @@ public:
     bool isModified() const;
 
 private:
-    bool m_modified;
     QDomDocument m_doc;
+    bool m_modified;
     bool upgrade(double version, const double currentVersion);
+    QStringList getInfoFromEffectName(const QString oldName);
     QString colorToString(const QColor& c);
+    /** @brief Updates effects that were created using a different version of the underlaying filter than the one installed. */
+    void updateEffects();
+    /** @brief Updates the parameters according to the updateRules.
+     * @see the related in README in effects/update */
+    bool updateEffectParameters(QDomNodeList parameters, const QScriptValue *updateRules, const double serviceVersion, const double effectVersion);
 };
 
 #endif