static MltVideoProfile getVideoProfile(const QString &name);
static QMap <QString, QString> getProfilesInfo();
static void saveProfile(MltVideoProfile &profile, QString profilePath = QString());
static MltVideoProfile getVideoProfile(const QString &name);
static QMap <QString, QString> getProfilesInfo();
static void saveProfile(MltVideoProfile &profile, QString profilePath = QString());
static bool existingProfileDescription(const QString &desc);
/** @brief Check if a given profile matches passed properties:
static bool existingProfileDescription(const QString &desc);
/** @brief Check if a given profile matches passed properties:
* @param isImage If true, compare width with profile's display width ( = dar * height)
* @param profile The profile to match
* @return true if properties match profile */
* @param isImage If true, compare width with profile's display width ( = dar * height)
* @param profile The profile to match
* @return true if properties match profile */
- static bool matchProfile(int width, int height, double fps, double par, bool isImage, MltVideoProfile profile);
+ static bool matchProfile(int width, int height, double fps, double par, bool isImage, const MltVideoProfile &profile);