logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: efb113c736cda1300f4c30ba8b130fbe79dd1277
parent 3ce59dae886b52c66b33409d659b7ca4e3f77f63
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Wed, 21 Sep 2011 18:49:08 +0200

Simplify test

Diffstat:

Myoutube-dl2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube-dl b/youtube-dl @@ -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