projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5d904f
)
[extractor/common] Fix audio only with audio group in m3u8 (closes #11995)
author
Sergey M․
<dstftw@gmail.com>
Mon, 6 Feb 2017 17:22:16 +0000
(
00:22
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 6 Feb 2017 17:22:16 +0000
(
00:22
+0700)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index 5191886227b085e7c082f8c577d8082fe4625cbb..0b4e2ac207b049d934c6b65fdf9317f856466b0f 100644
(file)
--- 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 = {}