We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d267ec5 commit c032b65Copy full SHA for c032b65
src/AvTranscoder/Profile.cpp
@@ -21,9 +21,10 @@ const std::string Profile::avProfileTypeVideo( "avProfileTypeVideo" );
21
const std::string Profile::avProfileTypeAudio( "avProfileTypeAudio" );
22
23
24
-Profile::Profile()
+Profile::Profile( bool autoload )
25
{
26
-
+ if( autoload )
27
+ loadProfiles();
28
}
29
30
void Profile::loadProfiles()
src/AvTranscoder/Profile.hpp
@@ -23,7 +23,7 @@ class Profile
typedef std::map< std::string, std::string > ProfileDesc;
typedef std::vector< ProfileDesc > ProfilesDesc;
- Profile();
+ Profile( bool autoload = false );
void loadProfiles();
0 commit comments