1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-09 18:29:28 +01:00

[YoutubeDL] Fix typo in media extension compatibility checker

This commit is contained in:
Douglas Su 2018-04-19 23:21:50 +08:00 committed by Sergey M
parent d86c5167ae
commit 5a19d231ca

View File

@ -1853,7 +1853,7 @@ class YoutubeDL(object):
def compatible_formats(formats):
video, audio = formats
# Check extension
video_ext, audio_ext = audio.get('ext'), video.get('ext')
video_ext, audio_ext = video.get('ext'), audio.get('ext')
if video_ext and audio_ext:
COMPATIBLE_EXTS = (
('mp3', 'mp4', 'm4a', 'm4p', 'm4b', 'm4r', 'm4v', 'ismv', 'isma'),