From b4fe402613e0ec0fb8b0bd39ddaf8ee292a065f3 Mon Sep 17 00:00:00 2001 From: Alvaro Velad Date: Mon, 13 Sep 2021 14:11:59 +0200 Subject: [PATCH] ac-3 added to content workarounds 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. --- 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,