Permalink
Browse files

Switch HLS audio encoding back to AAC by default.

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 6fb8692d2e29f1f8f431442ad41d88b261678bff
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/programs/mythtranscode/transcode.cpp
@@ -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");
@@ -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");

0 comments on commit 6fb8692

Please sign in to comment.