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

Fix: timeOffset - Once enabled, Forever Enabled #116

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

Nfrederiksen
Copy link
Collaborator

@Nfrederiksen Nfrederiksen commented Aug 15, 2023

The option to add program date time or timeline positions on each segment cannot truly be disabled if the previousVod had it enabled. This is due to the fact that this.timeOffset gets set in _copyFromPrevious regardless of what its value was around initiation time.

This PR intends to fix this by only allowing this.timeOffset to be settable if it was set in the initialization stage.

@Nfrederiksen Nfrederiksen changed the title Fix: timeOffset - Once enabled, a Fix: timeOffset - Once enabled, Forever Enabled Aug 15, 2023
Copy link
Contributor

@birme birme left a comment

Choose a reason for hiding this comment

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

LGTM

@Nfrederiksen Nfrederiksen merged commit c161ae8 into v3.1.x Aug 15, 2023
2 checks passed
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