Backport pull request #13423 from jellyfin/release-10.10.z

Don't select audio stream and codec explicitly for copy when bitrate exceeds limit

Original-merge: e8514de33b

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Bond_009 <bond.009@outlook.com>
pull/13488/head
gnattu 2 months ago committed by Bond_009
parent 24be951b75
commit c05a41cc3c

@ -1001,6 +1001,8 @@ namespace MediaBrowser.Model.Dlna
}))
.All(satisfied => satisfied);
directAudioStreamSatisfied = directAudioStreamSatisfied && !playlistItem.TranscodeReasons.HasFlag(TranscodeReason.ContainerBitrateExceedsLimit);
var directAudioStream = directAudioStreamSatisfied ? audioStreamWithSupportedCodec : null;
if (channelsExceedsLimit && playlistItem.TargetAudioStream is not null)

Loading…
Cancel
Save