mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-21 12:19:47 +00:00
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:
commit
e0f60847c0
6 changed files with 43 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue