mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-28 04:41:33 +00:00
added more remote control commands
This commit is contained in:
parent
c0801e4f6d
commit
bb5386bb3a
43 changed files with 816 additions and 149 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue