Skip to content

Commit

Permalink
Fix issue when Accessiblity descriptor with @schemeIdUri set urn:scte…
Browse files Browse the repository at this point in the history
…:dash:cc:cea-608:2015 has no value (#4581)
  • Loading branch information
bbert authored Oct 2, 2024
1 parent dd18a1a commit 968bca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dash/DashAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ function DashAdapter() {
}
let accessibility = media.accessibility[j];
if (accessibility.schemeIdUri === constants.ACCESSIBILITY_CEA608_SCHEME) {
if (accessibility.value === '') {
if (!accessibility.value || accessibility.value === '') {
convertVideoInfoToEmbeddedTextInfo(media, constants.CC1, 'eng');
mediaArr.push(media);
media = null;
Expand Down

0 comments on commit 968bca5

Please sign in to comment.