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

Cc memory fixes #4

Merged
merged 2 commits into from
Oct 17, 2019
Merged

Cc memory fixes #4

merged 2 commits into from
Oct 17, 2019

Conversation

desidiver
Copy link

This PR will...

Adds the fixes from PR video-dev#2309
Applying logic to remove the cues after 5 mins and ignoring non-subtitle related error changes.
Fixing the logic for PTS and start time calculations

Why is this Pull Request needed?

Are there any points in the code the reviewer needs to double check?

Resolves issues:

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

merging changes from video-dev#2309 and applying the CC fixes.
adding code to remvoe the cues after 5 mins for live and setting the state to idle for any error not just subtitle related.
@desidiver desidiver requested review from ladera and gar7and October 17, 2019 19:27
@desidiver desidiver merged commit 0d23c19 into master Oct 17, 2019
if (syncPTS + ((vttCCs[cc].start * 90000) || 0) < 0) {
syncPTS += 8589934592;
}
// if (syncPTS + ((vttCCs[cc].start * 90000) || 0) < 0) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesnt this do some syncing for over 12 hrs of running video ? may be check if thats this logic ?

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.

2 participants