Skip to content

Commit

Permalink
Merge pull request axiomatic-systems#986 from ftyp/fix-widevine-pssh
Browse files Browse the repository at this point in the history
Cleanup Widevine PSSH
  • Loading branch information
barbibulle authored Nov 15, 2024
2 parents f8ce9a9 + 26bfad3 commit 3bdc891
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Source/Python/utils/mp4utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 3bdc891

Please sign in to comment.