]> git.sesse.net Git - kdenlive/blobdiff - src/profilesdialog.h
Ask to change profile if first clip does not match project profile:
[kdenlive] / src / profilesdialog.h
index b6fd0a42c0d726e4cd4066024f9d7a65e6aa6c80..92a7fc4e8965db7f0a90ec4f3e9179d519b1814e 100644 (file)
@@ -33,7 +33,6 @@ public:
     ProfilesDialog(QWidget * parent = 0);
 
     void fillList(const QString selectedProfile = QString());
-    static QString getProfileDescription(QString name);
     static QMap< QString, QString > getSettingsForProfile(const QString profileName);
     static QMap< QString, QString > getSettingsFromFile(const QString path);
     static QString getPathFromDescription(const QString profileDesc);
@@ -42,6 +41,8 @@ public:
     static void saveProfile(MltVideoProfile &profile);
     static QString existingProfile(MltVideoProfile profile);
     static bool existingProfileDescription(const QString &desc);
+    static QString getPathFromProperties(int width, int height, double fps, double par = 0, double dar = 0);
+    static double getStringEval(const MltVideoProfile &profile, QString eval);
 
 protected:
     virtual void closeEvent(QCloseEvent *event);