Skip to content

Commit

Permalink
[audio] Accept codec menu name for --audio-codec too
Browse files Browse the repository at this point in the history
  • Loading branch information
eumagga0x2a committed Sep 21, 2017
1 parent b427941 commit 3cbe0fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ uint8_t audioCodecSetByName( int dex,const char *name)

for(uint32_t i=0;i<ListOfAudioEncoder.size();i++)
{
if(!strcasecmp(name,ListOfAudioEncoder[i]->codecName))
if(!strcasecmp(name,ListOfAudioEncoder[i]->codecName) || !strcasecmp(name,ListOfAudioEncoder[i]->menuName))
{

ed->encoderIndex=i;
Expand Down

0 comments on commit 3cbe0fe

Please sign in to comment.