Skip to content

Commit 29dd045

Browse files
author
Clement Champetier
committed
ProfileLoader: by default load profiles defined as text files at AVPROFILES
Fix #223
1 parent 50c986a commit 29dd045

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/AvTranscoder/profile/ProfileLoader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
namespace avtranscoder
1010
{
1111

12-
ProfileLoader::ProfileLoader(bool autoload)
12+
ProfileLoader::ProfileLoader(const bool autoload)
1313
{
1414
if(autoload)
1515
loadProfiles();

src/AvTranscoder/profile/ProfileLoader.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ class AvExport ProfileLoader
3939
typedef std::vector<Profile> Profiles;
4040

4141
public:
42-
ProfileLoader(bool autoload = false);
42+
/**
43+
* @param autoload: load profiles defined as text files at AVPROFILES
44+
*/
45+
ProfileLoader(const bool autoload = true);
4346

4447
/**
4548
* @brief Load profiles from files in avProfilesPath directory

0 commit comments

Comments
 (0)