Skip to content

Commit b034e6e

Browse files
author
Clement Champetier
committed
Profile: implement getAudioProfiles
1 parent c032b65 commit b034e6e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/AvTranscoder/Profile.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ Profile::ProfilesDesc Profile::getAudioProfiles()
101101
{
102102
ProfilesDesc profiles;
103103

104+
for( ProfilesDesc::iterator it = _profiles.begin(); it != _profiles.end(); ++it )
105+
{
106+
if( (*it).find( avProfileType )->second == avProfileTypeAudio )
107+
profiles.push_back( *it );
108+
}
109+
104110
return profiles;
105111
}
106112

0 commit comments

Comments
 (0)