X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fprofilesdialog.h;h=a9927babaa901bfda785a0054e3cc248a7cc3885;hb=16e43620d9ff9e432ea91ded529f1e365d03fd52;hp=54d263afbcbbd9385a6c193fcec9043db99ddd54;hpb=8f0ae78b0d64b265aa0d99b37b019b2286d75b6e;p=kdenlive diff --git a/src/profilesdialog.h b/src/profilesdialog.h index 54d263af..a9927bab 100644 --- a/src/profilesdialog.h +++ b/src/profilesdialog.h @@ -52,7 +52,7 @@ public: * @return true if properties match profile */ static bool matchProfile(int width, int height, double fps, double par, bool isImage, MltVideoProfile profile); - /** @brief Find a profile to match parameter properties: + /** @brief Find profiles that match parameter properties: * @param width The profile frame width * @param height The profile frame height * @param fps The profile fps @@ -67,6 +67,11 @@ public: * @return the evaluated value */ static double getStringEval(const MltVideoProfile &profile, QString eval); + /** @brief Get the descriptive text for given colorspace code (defined by MLT) + * @param colorspace An int as defined in mlt_profile.h + * @return The string description */ + static QString getColorspaceDescription(int colorspace); + protected: virtual void closeEvent(QCloseEvent *event);