about summary refs log tree commit diff
path: root/youtube_dl/YoutubeDL.py
diff options
context:
space:
mode:
authorDouglas Su <d0u9.su@outlook.com>2018-04-19 23:21:50 +0800
committerSergey M <dstftw@gmail.com>2018-04-19 22:21:50 +0700
commit5a19d231ca8e15d07c2a5ebd3cd6cc46b7596edc (patch)
treecde8d41efd9ad93507aa12d11243c1b828c38d83 /youtube_dl/YoutubeDL.py
parentd86c5167ae5a1c33451e98d7e05d5b32b6fa3156 (diff)
downloadyoutube-dl-5a19d231ca8e15d07c2a5ebd3cd6cc46b7596edc.tar.gz
youtube-dl-5a19d231ca8e15d07c2a5ebd3cd6cc46b7596edc.tar.xz
youtube-dl-5a19d231ca8e15d07c2a5ebd3cd6cc46b7596edc.zip
[YoutubeDL] Fix typo in media extension compatibility checker
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rwxr-xr-xyoutube_dl/YoutubeDL.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index fca4999eb..ad3598805 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -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'),