Skip to content

refactor(mp4): move ftyp field to Mp4Properties#650

Merged
Serial-ATA merged 3 commits intoSerial-ATA:mainfrom
loxoron218:move-ftyp-to-mp4properties
Apr 22, 2026
Merged

refactor(mp4): move ftyp field to Mp4Properties#650
Serial-ATA merged 3 commits intoSerial-ATA:mainfrom
loxoron218:move-ftyp-to-mp4properties

Conversation

@loxoron218
Copy link
Copy Markdown
Contributor

@loxoron218 loxoron218 commented Apr 21, 2026

The ftyp field is moved from Mp4File to Mp4Properties to ensure consistency in how format-specific properties are stored and accessed. This change also updates documentation and tests to reflect the new structure.

I had to update the MP4 test property constants to functions, since String can't be constructed with const.

Fixes #287

The `ftyp` field is moved from `Mp4File` to `Mp4Properties` to ensure
consistency in how format-specific properties are stored and accessed.
This change also updates documentation and tests to reflect the new
structure.
Copy link
Copy Markdown
Owner

@Serial-ATA Serial-ATA left a comment

Choose a reason for hiding this comment

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

Thanks! Just one note on the docs

Comment thread doc/NEW_FILE.md Outdated
@loxoron218 loxoron218 requested a review from Serial-ATA April 22, 2026 09:51
@Serial-ATA Serial-ATA merged commit 0d7779d into Serial-ATA:main Apr 22, 2026
4 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.

MP4: Move major brand to Mp4Properties

2 participants