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

feat: remove default value of 0 for minimumUpdatePeriod #103

Merged
merged 3 commits into from
Sep 3, 2020

Conversation

alex-barstow
Copy link
Contributor

Description

We cannot currently differentiate between cases when the minimumUpdatePeriod does not exist vs. when it is 0, since we set 0 as the default value in the first case. Since it is valid for the minimumUpdatePeriod to be either 0 or absent, we need to remove this default value.

Copy link
Member

@gkatsev gkatsev left a comment

Choose a reason for hiding this comment

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

LGTM.
When we merge we should make sure to have BREAKING CHANGE: footer in the commit message as per the convention https://github.com/videojs/conventional-changelog-videojs/blob/master/convention.md

@alex-barstow alex-barstow merged commit 38ca9ad into videojs:main Sep 3, 2020
@alex-barstow alex-barstow deleted the remove-mup-default branch September 3, 2020 17:37
RomeroDiver pushed a commit to Arc-Soft/mpd-parser that referenced this pull request Dec 7, 2020
BREAKING CHANGE: The minimumUpdatePeriod property is now omitted from parsed output if it is not present in the manifest, rather than using a default value of 0. This is to allow differentiation between cases when a value of 0 is present in the manifest and when no value is provided.
RomeroDiver pushed a commit to Arc-Soft/mpd-parser that referenced this pull request Dec 7, 2020
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