162ea38a95
* Check MaxAudioChannels for directAudioStream candidates The current stream builder logic does not check the channel limit when determining if the audio stream can be directly used, and this can cause some undesired effects: - A high channel count surround sound stream might be picked even if a stereo one exists when the user requires stereo audio. - The user's preferred audio codec might not be respected during the downmix because the requested codec is now forced to be the same as the original source. Signed-off-by: gnattu <gnattuoc@me.com> * Fix unit test Signed-off-by: gnattu <gnattuoc@me.com> * Set correct transcode reason and target channels for unit test Signed-off-by: gnattu <gnattuoc@me.com> * Match old stream selection behavior Signed-off-by: gnattu <gnattuoc@me.com> * Fix reason matching Signed-off-by: gnattu <gnattuoc@me.com> --------- Signed-off-by: gnattu <gnattuoc@me.com> |
||
---|---|---|
.. | ||
Jellyfin.Api.Tests | ||
Jellyfin.Common.Tests | ||
Jellyfin.Controller.Tests | ||
Jellyfin.Extensions.Tests | ||
Jellyfin.LiveTv.Tests | ||
Jellyfin.MediaEncoding.Hls.Tests | ||
Jellyfin.MediaEncoding.Keyframes.Tests | ||
Jellyfin.MediaEncoding.Tests | ||
Jellyfin.Model.Tests | ||
Jellyfin.Naming.Tests | ||
Jellyfin.Networking.Tests | ||
Jellyfin.Providers.Tests | ||
Jellyfin.Server.Implementations.Tests | ||
Jellyfin.Server.Integration.Tests | ||
Jellyfin.Server.Tests | ||
Jellyfin.XbmcMetadata.Tests | ||
coverletArgs.runsettings | ||
Directory.Build.props | ||
jellyfin-tests.ruleset |