diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-02-07 00:22:16 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-02-07 00:22:16 +0700 |
commit | 242a14a1f6ea14b8e7de9aa1eddaf938de825e1e (patch) | |
tree | 645acbc07ca5116c52ad3c6f42f4e7ebcfe624fc /youtube_dl/extractor/common.py | |
parent | d5d904ff7d712e126885915d9e3e35b5f3115888 (diff) |
[extractor/common] Fix audio only with audio group in m3u8 (closes #11995)
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r-- | youtube_dl/extractor/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 519188622..0b4e2ac20 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -1315,8 +1315,8 @@ class InfoExtractor(object): 'abr': abr, }) f.update(parse_codecs(last_info.get('CODECS'))) - if audio_in_video_stream.get(last_info.get('AUDIO')) is False: - # TODO: update acodec for for audio only formats with the same GROUP-ID + if audio_in_video_stream.get(last_info.get('AUDIO')) is False and f['vcodec'] != 'none': + # TODO: update acodec for audio only formats with the same GROUP-ID f['acodec'] = 'none' formats.append(f) last_info = {} |