X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fprofilesdialog.h;h=11760eeab5e65d367fab218d7752b4d07c5002bc;hb=8de0bdc9a16f0dd3b97d437a89e8217303947816;hp=c3710205857cd137e6d1a31e7a81f40262cba8b2;hpb=8ba16be0b04c2826f4a411fcf062401782f89c4e;p=kdenlive diff --git a/src/profilesdialog.h b/src/profilesdialog.h index c3710205..11760eea 100644 --- a/src/profilesdialog.h +++ b/src/profilesdialog.h @@ -41,7 +41,7 @@ public: static MltVideoProfile getVideoProfile(const QString &name); static QMap 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: @@ -52,7 +52,7 @@ public: * @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