static MltVideoProfile getVideoProfile(const QString &name);
static QMap <QString, QString> getProfilesInfo();
static void saveProfile(MltVideoProfile &profile, QString profilePath = QString());
- static QString existingProfile(MltVideoProfile profile);
+ static QString existingProfile(const MltVideoProfile &profile);
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 */
- 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);
/** @brief Find profiles that match parameter properties:
* @param width The profile frame width