+ static QString getPathFromDescription(const QString profileDesc);
+ static MltVideoProfile getVideoProfile(QString name);
+ static QMap <QString, QString> getProfilesInfo();
+ static void saveProfile(MltVideoProfile &profile);
+ static QString existingProfile(MltVideoProfile profile);
+ static bool existingProfileDescription(const QString &desc);
+
+ /** @brief Find a profile to match parameter properties:
+ * @param width The profile frame width
+ * @param height The profile frame height
+ * @param fps The profile fps
+ * @param useDisplayWidth If true, compare width with profile's display width ( = dar * height) */
+ static QString getPathFromProperties(int width, int height, double fps, bool useDisplayWidth = false);
+ static double getStringEval(const MltVideoProfile &profile, QString eval);
+
+protected:
+ virtual void closeEvent(QCloseEvent *event);