Skip to content

Commit

Permalink
Merge pull request #2377 from Dash-Industry-Forum/fix-more-than-9-ima…
Browse files Browse the repository at this point in the history
…ge-subtitles

Bug fix. Allow for more image subtitles in one segment.
  • Loading branch information
epiclabsDASH committed Jan 16, 2018
2 parents e0536f2 + 4951449 commit 9414e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/streaming/text/TextTracks.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ function TextTracks() {
const finalCue = document.createElement('div');
captionContainer.appendChild(finalCue);
renderHTML(cue.isd, finalCue, function (uri) {
const imsc1ImgUrnTester = /^(urn:)(mpeg:[a-z0-9][a-z0-9-]{0,31}:)(subs:)([0-9])$/;
const imsc1ImgUrnTester = /^(urn:)(mpeg:[a-z0-9][a-z0-9-]{0,31}:)(subs:)([0-9]+)$/;
const smpteImgUrnTester = /^#(.*)$/;
if (imsc1ImgUrnTester.test(uri)) {
const match = imsc1ImgUrnTester.exec(uri);
Expand Down

0 comments on commit 9414e0c

Please sign in to comment.