Merge pull request #4361 from ssenart/feature/4360-transcoding_flac_downsampling

Add FLAC and define the corresponding target sample rate
This commit is contained in:
Joshua M. Boniface 2020-11-17 10:29:29 -05:00 committed by GitHub
commit e0f60847c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 43 additions and 4 deletions

View file

@ -409,7 +409,7 @@ namespace MediaBrowser.Controller.MediaEncoding
{
// Don't exceed what the encoder supports
// Seeing issues of attempting to encode to 88200
return Math.Min(44100, BaseRequest.AudioSampleRate.Value);
return BaseRequest.AudioSampleRate.Value;
}
return null;