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 scaleCue function for TTML subtitles use case. #2303

Merged

Conversation

nicosang
Copy link
Contributor

Hi,

this PR has to solve issue #2302 by updating scaleCue function.

Nico

@Gontran-Molotov
Copy link
Contributor

Hi,

Your PR solves the issue for me.

Any reason to keep the if (activeCue.cellResolution) block in the scaleCue() function? Isn't it the legacy code for the previous way to handle captions?

@epiclabsDASH epiclabsDASH merged commit e458cf2 into Dash-Industry-Forum:development Nov 21, 2017
@epiclabsDASH epiclabsDASH added this to the v2.6.4 milestone Nov 21, 2017
@nicosang nicosang deleted the updateScaleCue branch November 21, 2017 15:00
@nicosang
Copy link
Contributor Author

thanks @Gontran-Molotov !

I'm not sure of the answer to your question....it could be called with others subtitles format, isn't it? @epiclabsDASH , what's your opinion?

Nico

@epiclabsDASH
Copy link
Contributor

Yep, agree with you. There are captions that could come from different sources (ex: CEA608) that could be setting cellResolution property.

@Gontran-Molotov
Copy link
Contributor

Alright, thanks for the explanations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants