From 87786f4df6fd172dcc6cb996b947104f646d9af2 Mon Sep 17 00:00:00 2001 From: Nick Michael Date: Wed, 2 Jun 2021 03:09:53 +0100 Subject: [PATCH] fix: Fix EC-3 box support in DRM workaround on smart TVs (#3427) --- 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 716f1d4ed3..22fe4a9750 100644 --- a/lib/media/content_workarounds.js +++ b/lib/media/content_workarounds.js @@ -75,6 +75,12 @@ shaka.media.ContentWorkarounds = class { newType: ContentWorkarounds.BOX_TYPE_ENCV_, }); }) + .fullBox('ec-3', (box) => { + boxesToModify.push({ + box, + newType: ContentWorkarounds.BOX_TYPE_ENCA_, + }); + }) .fullBox('mp4a', (box) => { boxesToModify.push({ box,