Skip to content

Commit 85b0833

Browse files
author
Clement Champetier
committed
ProfileLoader: log when a profile is correctly loaded
1 parent 2b817e6 commit 85b0833

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/AvTranscoder/profile/ProfileLoader.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ void ProfileLoader::loadProfile( const Profile& profile )
9494
isValid = checkAudioProfile( profile );
9595

9696
if( isValid )
97+
{
98+
LOG_INFO( "Profile '" << profile.find( constants::avProfileIdentificatorHuman )->second << "' loaded" )
9799
_profiles.push_back( profile );
100+
}
98101
else
99102
throw std::runtime_error( "Warning: The profile " + profile.find( constants::avProfileIdentificator )->second + " is invalid. It will not be loaded." );
100103
}

0 commit comments

Comments
 (0)