Skip to content

Commit

Permalink
Switch HLS audio encoding back to AAC by default.
Browse files Browse the repository at this point in the history
AAC audio seems to work fine everywhere I test except for
my iPhone 3GS running iOS 4.1, so this may be a bug that
has been fixed elsewhere.  MP3 audio can still be enabled
if you know what you're doing by looking at the patch/code.
  • Loading branch information
cpinkham committed Jul 20, 2012
1 parent e27a749 commit 6fb8692
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/programs/mythtranscode/transcode.cpp
Expand Up @@ -1097,7 +1097,7 @@ int Transcode::TranscodeFile(const QString &inputname,

avfw2->SetContainer("mpegts");

if (gCoreContext->GetNumSetting("HLSAACAUDIO", 0))
if (gCoreContext->GetNumSetting("HLSAACAUDIO", 1))
avfw2->SetAudioCodec("aac");
else
avfw2->SetAudioCodec("libmp3lame");
Expand All @@ -1112,7 +1112,7 @@ int Transcode::TranscodeFile(const QString &inputname,
avfw->SetContainer("mpegts");
avfw->SetVideoCodec("libx264");

if (gCoreContext->GetNumSetting("HLSAACAUDIO", 0))
if (gCoreContext->GetNumSetting("HLSAACAUDIO", 1))
avfw->SetAudioCodec("aac");
else
avfw->SetAudioCodec("libmp3lame");
Expand Down

0 comments on commit 6fb8692

Please sign in to comment.