1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 23:32:52 +08:00

Simplify test

This commit is contained in:
Philipp Hagemeister 2011-09-21 18:49:08 +02:00
parent 3ce59dae88
commit efb113c736

View File

@ -3351,7 +3351,7 @@ class FFmpegExtractAudioPP(PostProcessor):
more_opts = []
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
acodec = 'copy'
extension = filecodec