mirror of
https://github.com/axiomatic-systems/Bento4.git
synced 2024-11-23 01:44:14 +00:00
Remove deprecated Algorithm field 1 which should not be used conjunction with Protection Scheme field 9
This commit is contained in:
parent
f8ce9a93de
commit
26bfad3c07
@ -1296,9 +1296,6 @@ def ComputeWidevineHeader(header_spec, encryption_scheme, kid_hex):
|
||||
if 'policy' in fields:
|
||||
protobuf_fields.append((6, fields['policy']))
|
||||
|
||||
if encryption_scheme == 'cenc':
|
||||
protobuf_fields.append((1, 1))
|
||||
|
||||
four_cc = struct.unpack('>I', encryption_scheme.encode('ascii'))[0]
|
||||
protobuf_fields.append((9, four_cc))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user