PSSH: Only craft PSSH with key_IDs set if version is 1
This commit is contained in:
parent
7a993206a1
commit
05b30b3a89
|
@ -170,7 +170,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 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]
|
init_data=[init_data, b""][init_data is None]
|
||||||
)))
|
)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue