diff --git a/src/AvTranscoder/profile/ProfileLoader.cpp b/src/AvTranscoder/profile/ProfileLoader.cpp index f9183611..d73fe252 100644 --- a/src/AvTranscoder/profile/ProfileLoader.cpp +++ b/src/AvTranscoder/profile/ProfileLoader.cpp @@ -9,7 +9,7 @@ namespace avtranscoder { -ProfileLoader::ProfileLoader(bool autoload) +ProfileLoader::ProfileLoader(const bool autoload) { if(autoload) loadProfiles(); diff --git a/src/AvTranscoder/profile/ProfileLoader.hpp b/src/AvTranscoder/profile/ProfileLoader.hpp index 3e3b6b86..6670e69e 100644 --- a/src/AvTranscoder/profile/ProfileLoader.hpp +++ b/src/AvTranscoder/profile/ProfileLoader.hpp @@ -39,7 +39,10 @@ class AvExport ProfileLoader typedef std::vector Profiles; public: - ProfileLoader(bool autoload = false); + /** + * @param autoload: load profiles defined as text files at AVPROFILES + */ + ProfileLoader(const bool autoload = true); /** * @brief Load profiles from files in avProfilesPath directory