switched aac encoders

This commit is contained in:
Luke Pulverenti 2013-08-31 19:38:07 -04:00
parent 0320f15e96
commit ccdd51b3d8
2 changed files with 1 additions and 6 deletions

View File

@ -484,7 +484,7 @@ namespace MediaBrowser.Api.Playback
{ {
if (codec == AudioCodecs.Aac) if (codec == AudioCodecs.Aac)
{ {
return "aac"; return "libvo_aacenc";
} }
if (codec == AudioCodecs.Mp3) if (codec == AudioCodecs.Mp3)
{ {

View File

@ -129,11 +129,6 @@ namespace MediaBrowser.Api.Playback.Hls
if (state.AudioStream != null) if (state.AudioStream != null)
{ {
if (string.Equals(codec, "aac", StringComparison.OrdinalIgnoreCase))
{
args += " -strict experimental";
}
var channels = GetNumAudioChannelsParam(state.Request, state.AudioStream); var channels = GetNumAudioChannelsParam(state.Request, state.AudioStream);
if (channels.HasValue) if (channels.HasValue)