added more remote control commands

This commit is contained in:
Luke Pulverenti
2014-03-31 17:04:22 -04:00
parent c0801e4f6d
commit bb5386bb3a
43 changed files with 816 additions and 149 deletions

View File

@@ -180,7 +180,9 @@ namespace MediaBrowser.MediaEncoding.Encoder
{
if (audioStream != null)
{
if (audioStream.Channels > 2 && string.Equals(request.AudioCodec, "wma", StringComparison.OrdinalIgnoreCase))
var codec = request.AudioCodec ?? string.Empty;
if (audioStream.Channels > 2 && codec.IndexOf("wma", StringComparison.OrdinalIgnoreCase) != -1)
{
// wmav2 currently only supports two channel output
return 2;