1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-24 08:45:27 +00:00

[ted] Skip hls quality selection format

This commit is contained in:
Sergey M․ 2015-04-20 22:04:42 +06:00
parent 14f7abfa71
commit 6621ca39a3

View file

@ -198,6 +198,8 @@ class TEDIE(InfoExtractor):
hls_formats = self._extract_m3u8_formats( hls_formats = self._extract_m3u8_formats(
resources.get('stream'), video_name, 'mp4', m3u8_id=format_id) resources.get('stream'), video_name, 'mp4', m3u8_id=format_id)
for f in hls_formats: for f in hls_formats:
if f.get('format_id') == 'hls-meta':
continue
if not f.get('height'): if not f.get('height'):
f['vcodec'] = 'none' f['vcodec'] = 'none'
else: else: