PSSH: Only craft PSSH with key_IDs set if version is 1

This commit is contained in:
rlaphoenix 2022-11-18 09:18:52 +00:00
parent 7a993206a1
commit 05b30b3a89
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ class PSSH:
version=version,
flags=flags,
system_ID=PSSH.SystemId.Widevine,
key_IDs=key_ids if key_ids else None,
key_IDs=key_ids if key_ids and version == 1 else None,
init_data=[init_data, b""][init_data is None]
)))