-
Notifications
You must be signed in to change notification settings - Fork 11
feat: Collects unexpected boxes during decoding #71
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
Open
b01o
wants to merge
11
commits into
kixelated:main
Choose a base branch
from
b01o:feat/fault-tolerant
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
2654b8e
Collects unexpected boxes during decoding
b01o 0677cad
doc tweaks
b01o cb07578
chore: fmt
b01o 088cab7
Adds fault-tolerant parsing feature
b01o e8aa7ba
Adds fault tolerance tests
b01o 6b8902b
Adds unexpected field for all SampleEntry boxes
b01o 60b2383
Doc tweaks
b01o 26b960a
fix(hev1): unexpected boxes should not be encoded here
b01o b1caf95
Enables strict error handling when fault tolerance is off
b01o b40386e
fixes HEVC test to reflect fault tolerance
b01o db3a9b6
adds a comment to clarify test behavior
b01o File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -111,6 +111,7 @@ fn av1() { | |
| assert_eq!( | ||
| moov, | ||
| Moov { | ||
| unexpected: vec![], | ||
| mvhd: Mvhd { | ||
| creation_time: 0, | ||
| modification_time: 0, | ||
|
|
@@ -133,6 +134,7 @@ fn av1() { | |
| }, | ||
| meta: None, | ||
| mvex: Some(Mvex { | ||
| unexpected: vec![], | ||
| mehd: None, | ||
| trex: vec![Trex { | ||
| track_id: 1, | ||
|
|
@@ -143,6 +145,7 @@ fn av1() { | |
| }] | ||
| }), | ||
| trak: vec![Trak { | ||
| unexpected: vec![], | ||
| tkhd: Tkhd { | ||
| creation_time: 0, | ||
| modification_time: 0, | ||
|
|
@@ -169,6 +172,7 @@ fn av1() { | |
| edts: None, | ||
| meta: None, | ||
| mdia: Mdia { | ||
| unexpected: vec![], | ||
| mdhd: Mdhd { | ||
| creation_time: 0, | ||
| modification_time: 0, | ||
|
|
@@ -181,6 +185,7 @@ fn av1() { | |
| name: "[email protected]_master".into() | ||
| }, | ||
| minf: Minf { | ||
| unexpected: vec![], | ||
| vmhd: Some(Vmhd { | ||
| graphics_mode: 0, | ||
| op_color: RgbColor { | ||
|
|
@@ -191,13 +196,15 @@ fn av1() { | |
| }), | ||
| smhd: None, | ||
| dinf: Dinf { | ||
| unexpected: vec![], | ||
| dref: Dref { | ||
| urls: vec![Url { | ||
| location: "".into() | ||
| }] | ||
| } | ||
| }, | ||
| stbl: Stbl { | ||
| unexpected: vec![], | ||
| stsd: Stsd { | ||
| codecs: vec![Av01 { | ||
| visual: Visual { | ||
|
|
@@ -254,6 +261,7 @@ fn av1() { | |
| udta: None, | ||
| }], | ||
| udta: Some(Udta { | ||
| unexpected: vec![], | ||
| meta: Some(Meta { | ||
| hdlr: Hdlr { | ||
| handler: FourCC::new(b"mdir"), | ||
|
|
@@ -270,8 +278,10 @@ fn av1() { | |
| assert_eq!( | ||
| moof, | ||
| Moof { | ||
| unexpected: vec![], | ||
| mfhd: Mfhd { sequence_number: 1 }, | ||
| traf: vec![Traf { | ||
| unexpected: vec![], | ||
| tfhd: Tfhd { | ||
| track_id: 1, | ||
| base_data_offset: None, | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.