]> jfr.im git - yt-dlp.git/commitdiff
[ExtractAudio] Fix conversion to `wav`
authorpukkandan <redacted>
Sat, 13 Nov 2021 09:41:33 +0000 (15:11 +0530)
committerpukkandan <redacted>
Sat, 13 Nov 2021 09:45:23 +0000 (15:15 +0530)
Closes #1645

yt_dlp/postprocessor/ffmpeg.py

index 46e87baebf3d45f7e1fa7b25ebd7712ad0645ca6..b2f28d658971f9541ec71346d37244f578bea6f8 100644 (file)
@@ -403,10 +403,7 @@ def _quality_args(self, codec):
             'aac': (0.1, 4),
             'vorbis': (0, 10),
             'libfdk_aac': (1, 5),
-            'opus': None,  # doesn't support -q:a
-            'wav': None,
-            'flac': None,
-        }[codec]
+        }.get(codec)
         if not limits:
             return []