From 56a004209ceb259794840bcba6a535ecd1c04c69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Velad=20Galv=C3=A1n?= Date: Mon, 13 Sep 2021 19:24:30 +0200 Subject: [PATCH] fix: Fix DRM workaround for Tizen and Xbox with ac-3 boxes (#3631) content_workarounds.js was introduced for Tizen and Xbox platforms. We found that that meant a regression where certain streams were unable to be played. This PR adds ac-3 into the content workarounds in the same was as ec-3 to ensure these streams can be played once more. Issue #3589 --- lib/media/content_workarounds.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/media/content_workarounds.js b/lib/media/content_workarounds.js index c47ff7f05c..1a4d4b81a3 100644 --- a/lib/media/content_workarounds.js +++ b/lib/media/content_workarounds.js @@ -81,6 +81,12 @@ shaka.media.ContentWorkarounds = class { newType: ContentWorkarounds.BOX_TYPE_ENCV_, }); }) + .fullBox('ac-3', (box) => { + boxesToModify.push({ + box, + newType: ContentWorkarounds.BOX_TYPE_ENCA_, + }); + }) .fullBox('ec-3', (box) => { boxesToModify.push({ box,