aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNyanmisaka <nst799610810@gmail.com>2020-12-26 02:28:38 +0800
committerGitHub <noreply@github.com>2020-12-26 02:28:38 +0800
commit470f40442cd6ecbcfe81888804bf4e6a04846aec (patch)
treed319b33b4d2440ebc9280585ff2af84eca668f00
parentae1187042af7bc9a144d184a31017b6bd32eefcd (diff)
not apply to progressive playback
-rw-r--r--MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
index 29978a56c..efab87a38 100644
--- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
+++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
@@ -1725,6 +1725,7 @@ namespace MediaBrowser.Controller.MediaEncoding
// Avoid transcoding to audio channels other than 1ch, 2ch, 6ch (5.1 layout) and 8ch (7.1 layout).
// https://developer.apple.com/documentation/http_live_streaming/hls_authoring_specification_for_apple_devices
if (isTranscodingAudio
+ && state.TranscodingType != TranscodingJobType.Progressive
&& resultChannels.HasValue
&& (resultChannels.Value > 2 && resultChannels.Value < 6 || resultChannels.Value == 7))
{