Skip to content

fix(imsc): subtitle startup race condition#371

Merged
eirikbjornr merged 1 commit intomasterfrom
badgers-245-fix-subs
Mar 3, 2025
Merged

fix(imsc): subtitle startup race condition#371
eirikbjornr merged 1 commit intomasterfrom
badgers-245-fix-subs

Conversation

@eirikbjornr
Copy link
Copy Markdown
Contributor

📺 What

Fixes a race condition between imscstrategy and the player.

🛠 How

Don't accept zero as an valid time. Drawback is subtitles load later (after the stream instead of in parallel). A more robust solution could compare the calculated segment number with the segment start number in the manifest.

@eirikbjornr eirikbjornr added the semver patch This PR is a semver patch release label Mar 3, 2025
@eirikbjornr eirikbjornr self-assigned this Mar 3, 2025
@eirikbjornr eirikbjornr requested a review from a team as a code owner March 3, 2025 13:42
@eirikbjornr eirikbjornr merged commit 6a8497d into master Mar 3, 2025
4 checks passed
@eirikbjornr eirikbjornr deleted the badgers-245-fix-subs branch March 3, 2025 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver patch This PR is a semver patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants