diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-08-30 13:52:44 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-08-30 13:52:44 -0400 |
| commit | ba967ff11042257b70ad163cbf7d08def7fbfc91 (patch) | |
| tree | a81390a6d27356f6c9786f63d37a4b8d65ca9bad /MediaBrowser.Api/Playback/BaseStreamingService.cs | |
| parent | 024e451bb12b985000c4955027c7953afe13b9ee (diff) | |
3.0.5713.6
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/BaseStreamingService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs index 45e0e8b8a..531d67eed 100644 --- a/MediaBrowser.Api/Playback/BaseStreamingService.cs +++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs @@ -724,7 +724,7 @@ namespace MediaBrowser.Api.Playback var channelLimit = codec.IndexOf("mp3", StringComparison.OrdinalIgnoreCase) != -1 ? 2 - : 5; + : 6; // If we don't have any media info then limit it to 5 to prevent encoding errors due to asking for too many channels return Math.Min(request.MaxAudioChannels.Value, channelLimit); |
