Skip to content

Commit 3bdc891

Browse files
authored
Merge pull request #986 from ftyp/fix-widevine-pssh
Cleanup Widevine PSSH
2 parents f8ce9a9 + 26bfad3 commit 3bdc891

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Source/Python/utils/mp4utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,9 +1296,6 @@ def ComputeWidevineHeader(header_spec, encryption_scheme, kid_hex):
12961296
if 'policy' in fields:
12971297
protobuf_fields.append((6, fields['policy']))
12981298

1299-
if encryption_scheme == 'cenc':
1300-
protobuf_fields.append((1, 1))
1301-
13021299
four_cc = struct.unpack('>I', encryption_scheme.encode('ascii'))[0]
13031300
protobuf_fields.append((9, four_cc))
13041301

0 commit comments

Comments
 (0)