Put quality name in the place where clients read it (or at least HLS.js does)

pull/248/head
ElementalAlchemist 3 years ago committed by Mike Lang
parent ed2ff1b9a5
commit 56699d5737

@ -14,7 +14,7 @@ def generate_master(playlists):
lines += [
# We name each variant with a VIDEO rendition with no url
'#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="{name}",NAME="{name}",AUTOSELECT=YES,DEFAULT=YES'.format(name=name),
'#EXT-X-STREAM-INF:VIDEO="{name}"'.format(name=name),
'#EXT-X-STREAM-INF:VIDEO="{name}",NAME="{name}"'.format(name=name),
url,
]
return "\n".join(lines) + '\n'

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save