mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-15 22:05:39 +00:00
Simplify test
This commit is contained in:
parent
3ce59dae88
commit
efb113c736
1 changed files with 1 additions and 1 deletions
|
@ -3351,7 +3351,7 @@ class FFmpegExtractAudioPP(PostProcessor):
|
||||||
|
|
||||||
more_opts = []
|
more_opts = []
|
||||||
if self._preferredcodec == 'best' or self._preferredcodec == filecodec:
|
if self._preferredcodec == 'best' or self._preferredcodec == filecodec:
|
||||||
if filecodec == 'aac' or filecodec == 'mp3' or filecodec == 'vorbis':
|
if filecodec in ['aac', 'mp3', 'vorbis']:
|
||||||
# Lossless if possible
|
# Lossless if possible
|
||||||
acodec = 'copy'
|
acodec = 'copy'
|
||||||
extension = filecodec
|
extension = filecodec
|
||||||
|
|
Loading…
Reference in a new issue