mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-04 15:16:38 +00:00
[AudioTranscoding] Add FLAC as supported target audio format and be able to define the corresponding target sample rate
This commit is contained in:
parent
82d27e6461
commit
28ee4f0a7f
4 changed files with 39 additions and 3 deletions
|
|
@ -404,7 +404,10 @@ 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 Math.Min(44100, BaseRequest.AudioSampleRate.Value);
|
||||
|
||||
// I don't see any reason why limiting the sample rate to a maximum of 44100 !
|
||||
return BaseRequest.AudioSampleRate.Value;
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue