1
0
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-17 15:06:39 +00:00

[drtv] Respect preference for direct http formats (#14509)

This commit is contained in:
Sergey M․ 2017-10-16 05:48:45 +07:00
parent acc4ea6237
commit 83fcf19e2d
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -138,6 +138,7 @@ class DRTVIE(InfoExtractor):
'tbr': int_or_none(bitrate),
'ext': link.get('FileFormat'),
'vcodec': 'none' if kind == 'AudioResource' else None,
'preference': preference,
})
subtitles_list = asset.get('SubtitlesList')
if isinstance(subtitles_list, list):