Skip to content

Commit 31b1ca9

Browse files
fix: Fix DRM workaround for Tizen and Xbox with avc3 boxes (shaka-project#3625)
The workaround previously only matched avc1 boxes. This adds avc3 to the workaround, fixing content that uses this box on Tizen and Xbox.
1 parent 97ba4df commit 31b1ca9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/media/content_workarounds.js

+6
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ shaka.media.ContentWorkarounds = class {
7575
newType: ContentWorkarounds.BOX_TYPE_ENCV_,
7676
});
7777
})
78+
.fullBox('avc3', (box) => {
79+
boxesToModify.push({
80+
box,
81+
newType: ContentWorkarounds.BOX_TYPE_ENCV_,
82+
});
83+
})
7884
.fullBox('ec-3', (box) => {
7985
boxesToModify.push({
8086
box,

0 commit comments

Comments
 (0)