Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update not fragmented subtitles management #2610

Conversation

nicosang
Copy link
Contributor

@nicosang nicosang commented Jun 4, 2018

Hi,

this PR has to optimize not fragmented subtitles management.

Indeed, when a stream is selected with not fragmented subtitle, like for instance https://vm2.dashif.org/dash/vod/testpic_2s/xml_subs.mpd, by default all the subtitles files are downloaded and parsed at the beginning. Then, if the user decides to seek somewhere in this content, the selected subtitle file is parsed a second time when this first seek command occurs.

So, these modifications allow to download only the selected subtitles file. Then, if the user wants to change subtitles track, the new file will be downloaded. Finally, if a seek command occurs, the useless parsing is not done.

Nico

@dprestegard
Copy link

This is awesome, and fixes my issue #2620

Any chance it can be in a 2.7.1 release?

@nicosang nicosang force-pushed the fix-NotFragmented-subtitles branch from 8820186 to 39e381f Compare June 7, 2018 15:31
@nicosang nicosang force-pushed the fix-NotFragmented-subtitles branch from 39e381f to f7b2cb3 Compare June 8, 2018 08:28
@epiclabsDASH epiclabsDASH merged commit 70c83b7 into Dash-Industry-Forum:development Jun 8, 2018
@nicosang nicosang deleted the fix-NotFragmented-subtitles branch June 11, 2018 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants