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: improve parsing for a frame-rate attribute #150

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

gjanblaszczyk
Copy link
Member

The 'FRAME-RATE' attribute should be a floating-point number type rather than a string.

@gjanblaszczyk
Copy link
Member Author

The PR is related to this videojs/mpd-parser#159

@gesinger
Copy link
Contributor

This looks good @gjanblaszczyk , thank you. The only concern I have is that it technically breaks the old output. Although it should be minor, and is more appropriate as a number, we should consider a small major for this.

@gjanblaszczyk
Copy link
Member Author

Thanks for the feedback @gesinger. @gkatsev any thoughts?

@gkatsev
Copy link
Member

gkatsev commented Jul 28, 2022

Yeah, technically a breaking change. Don't see a problem with making a major version of m3u8-parser, though.

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.

Just needs a BREAKING CHANGE: in the footer when we merge.

@gjanblaszczyk
Copy link
Member Author

@gkatsev Is it enough to add this footer message during GitHub squash and merge action? or maybe I should do something more...

@gkatsev
Copy link
Member

gkatsev commented Aug 2, 2022

yup, that would do it. I rarely if ever merge locally anymore and we prefer squash+merge in the video.js projects.

@gjanblaszczyk gjanblaszczyk merged commit 94b618e into videojs:main Aug 2, 2022
@gjanblaszczyk gjanblaszczyk deleted the feat/frame-rate branch August 2, 2022 16:01
gkatsev pushed a commit that referenced this pull request Aug 2, 2022
BREAKING CHANGE: parser changes an output type for 'FRAME-RATE'
attribute from a string to a number.
ryancase added a commit to TransmitLive/m3u8-parser that referenced this pull request Apr 23, 2024
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