1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +01:00

Correct inverse opus quality order.

This commit is contained in:
Hattshire 2019-02-26 20:48:13 -03:00
parent 1a7a6846e2
commit a2d641d695

View File

@ -311,7 +311,7 @@ class FFmpegExtractAudioPP(FFmpegPostProcessor):
elif preferredquality < 10 and preferredquality >= 0: elif preferredquality < 10 and preferredquality >= 0:
# Handle opus quality/bitrate using Xiph.org's Recommended Settings # Handle opus quality/bitrate using Xiph.org's Recommended Settings
opus_bitrate_list = [ opus_bitrate_list = [
'6k', '6k', '10k', '24k', '32k', '64k', '96k', '128k', '256k', '450k' '450k', '256k', '160k', '128k', '96k', '64k', '32k', '24k', '10k', '6k'
] ]
more_opts += ['-b:a', opus_bitrate_list[preferredquality]] more_opts += ['-b:a', opus_bitrate_list[preferredquality]]
else: else: