PSSH: Fix key_IDs field when creating a new PSSH box

This commit is contained in:
rlaphoenix 2022-11-18 08:49:33 +00:00
parent 8146e055e6
commit 2d2359f9a2
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ class PSSH:
version=version, version=version,
flags=flags, flags=flags,
system_ID=PSSH.SystemId.Widevine, system_ID=PSSH.SystemId.Widevine,
key_ids=[key_ids, b""][key_ids is None], key_IDs=[UUID(bytes=kid) for kid in key_ids] if key_ids else None,
init_data=[init_data, b""][init_data is None] init_data=[init_data, b""][init_data is None]
))) )))