aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/msn.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-12-10 17:17:13 +0100
committerRemita Amine <remitamine@gmail.com>2016-12-10 17:22:15 +0100
commit8821a718cfeca740d42d109411645427d4f8b523 (patch)
tree221b4d262b611aed65375558ef5d2375e43a6f36 /youtube_dl/extractor/msn.py
parent0d7d9f94045868d22493d4932d124170d26511fe (diff)
[common] recognize hls manifests that contain video only formats(#11394)
Diffstat (limited to 'youtube_dl/extractor/msn.py')
-rw-r--r--youtube_dl/extractor/msn.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/youtube_dl/extractor/msn.py b/youtube_dl/extractor/msn.py
index d75ce8b3b..1473bcf48 100644
--- a/youtube_dl/extractor/msn.py
+++ b/youtube_dl/extractor/msn.py
@@ -78,11 +78,6 @@ class MSNIE(InfoExtractor):
m3u8_formats = self._extract_m3u8_formats(
format_url, display_id, 'mp4',
m3u8_id='hls', fatal=False)
- # Despite metadata in m3u8 all video+audio formats are
- # actually video-only (no audio)
- for f in m3u8_formats:
- if f.get('acodec') != 'none' and f.get('vcodec') != 'none':
- f['acodec'] = 'none'
formats.extend(m3u8_formats)
else:
formats.append({