HLS: Don't reset EXT-X-KEY state data on discontinuity

This commit is contained in:
rlaphoenix 2024-02-16 16:50:12 +00:00
parent 506ba0f615
commit e26e55caf3
1 changed files with 0 additions and 1 deletions

View File

@ -412,7 +412,6 @@ class HLS:
discon_i += 1 discon_i += 1
range_offset = 0 # TODO: Should this be reset or not? range_offset = 0 # TODO: Should this be reset or not?
map_data = None map_data = None
encryption_data = None # TODO: Should this be reset or not?
if segment.init_section and (not map_data or segment.init_section != map_data[0]): if segment.init_section and (not map_data or segment.init_section != map_data[0]):
if segment.init_section.byterange: if segment.init_section.byterange: