Skip to content

Commit 7bf7eea

Browse files
author
Valentin Noel
committed
Windows: replace Profile constants into presetChecker app
1 parent 659537c commit 7bf7eea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/presetChecker/presetChecker.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ int main( int argc, char** argv )
2525
std::cout << std::setw(35) << key.first << key.second << std::endl;
2626

2727
try{
28-
if( profile.find( avtranscoder::Profile::getAvProfileTypeKey() )->second == avtranscoder::Profile::getAvProfileTypeVideoKey() )
28+
if( profile.find( avtranscoder::constants::avProfileType )->second == avtranscoder::constants::avProfileTypeVideo )
2929
{
3030
avtranscoder::AvOutputVideo outputVideo;
3131
outputVideo.setProfile( profile, outputVideo.getVideoDesc().getVideoFrameDesc() );
3232
}
3333

34-
if( profile.find( avtranscoder::Profile::getAvProfileTypeKey() )->second == avtranscoder::Profile::getAvProfileTypeAudioKey() )
34+
if( profile.find( avtranscoder::constants::avProfileType )->second == avtranscoder::constants::avProfileTypeAudio )
3535
{
3636
avtranscoder::AvOutputAudio outputAudio;
3737
outputAudio.setProfile( profile, outputAudio.getAudioDesc().getFrameDesc() );

0 commit comments

Comments
 (0)