mirror of
https://github.com/devine-dl/devine.git
synced 2025-04-29 17:49:44 +00:00
HLS: Don't decrypt on key change if there were no prior segments
This commit is contained in:
parent
6a37fe9d1b
commit
7587243aa2
@ -414,7 +414,7 @@ class HLS:
|
||||
|
||||
if segment.keys:
|
||||
key = HLS.get_supported_key(segment.keys)
|
||||
if encryption_data and encryption_data[1] != key:
|
||||
if encryption_data and encryption_data[1] != key and i != 0:
|
||||
decrypt(include_this_segment=False)
|
||||
|
||||
if key is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user