瀏覽代碼

not apply to progressive playback

Nyanmisaka 4 年之前
父節點
當前提交
470f40442c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

+ 1 - 0
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).
             // 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
             // https://developer.apple.com/documentation/http_live_streaming/hls_authoring_specification_for_apple_devices
             if (isTranscodingAudio
             if (isTranscodingAudio
+                && state.TranscodingType != TranscodingJobType.Progressive
                 && resultChannels.HasValue
                 && resultChannels.HasValue
                 && (resultChannels.Value > 2 && resultChannels.Value < 6 || resultChannels.Value == 7))
                 && (resultChannels.Value > 2 && resultChannels.Value < 6 || resultChannels.Value == 7))
             {
             {