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> |
||
---|---|---|
.. | ||
CodecProfile.cs | ||
CodecType.cs | ||
ConditionProcessor.cs | ||
ContainerProfile.cs | ||
DeviceProfile.cs | ||
DirectPlayProfile.cs | ||
DlnaProfileType.cs | ||
EncodingContext.cs | ||
ITranscoderSupport.cs | ||
MediaOptions.cs | ||
PlaybackErrorCode.cs | ||
ProfileCondition.cs | ||
ProfileConditionType.cs | ||
ProfileConditionValue.cs | ||
ResolutionConfiguration.cs | ||
ResolutionNormalizer.cs | ||
ResolutionOptions.cs | ||
StreamBuilder.cs | ||
StreamInfo.cs | ||
SubtitleDeliveryMethod.cs | ||
SubtitleProfile.cs | ||
SubtitleStreamInfo.cs | ||
TranscodeSeekInfo.cs | ||
TranscodingProfile.cs |