support 5.1 aac

This commit is contained in:
Luke Pulverenti
2013-05-21 21:53:18 -04:00
parent 212e696f7e
commit bd85132702
5 changed files with 22 additions and 5 deletions

View File

@@ -426,11 +426,6 @@ namespace MediaBrowser.Api.Playback
{
if (audioStream.Channels > 2 && request.AudioCodec.HasValue)
{
if (request.AudioCodec.Value == AudioCodecs.Aac)
{
// libvo_aacenc currently only supports two channel output
return 2;
}
if (request.AudioCodec.Value == AudioCodecs.Wma)
{
// wmav2 currently only supports two channel output