diff options
| author | danne <danne.e85@gmail.com> | 2026-06-13 22:44:44 +0200 |
|---|---|---|
| committer | danne <danne.e85@gmail.com> | 2026-06-21 09:43:31 +0200 |
| commit | e4383493a96da86c99516bfdf69ecd609c2dfec2 (patch) | |
| tree | 658cb37e8d60d34f1e04d21f3973f6f6cd809d1f /Emby.Common.Implementations/TextEncoding/UniversalDetector | |
| parent | 3741d7196506cb5061116447c7a7f930587e5c7c (diff) | |
Fix audio sample rate forced to 48 kHz for non-Opus codecs
GetProgressiveAudioFullCommandLine applied the libopus-only sample rate
quantization to every codec except Opus, inverting the intended guard.
A requested rate such as 44100 Hz was therefore snapped to 48000 Hz for
AAC/MP3/FLAC, while Opus (which actually requires the quantization) was
skipped entirely.
Apply the quantization only when the output codec is Opus, and pass the
requested sample rate through unchanged for all other codecs.
Fixes #17026
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'Emby.Common.Implementations/TextEncoding/UniversalDetector')
0 files changed, 0 insertions, 0 deletions
