Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix unit test problems with sample_with_av1c.mp4
  • Loading branch information
Haixia Shi authored and microkatz committed Nov 2, 2023
commit 258f45f874bb6dc40a1e075b0702a69920f0b4a1
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ private static void parseVideoSampleEntry(
bitdepthChroma = bitdepthLuma;
// See av1C atom syntax:
// https://aomediacodec.github.io/av1-isobmff/#av1codecconfigurationbox-syntax
parent.skipBytes(4); // skip to configOBUs[]
parent.skipBytes(1); // skip to configOBUs[]
Av1BitstreamParser parser = new Av1BitstreamParser(parent);
if (parser.parseSequenceHeader() && parser.colorDescriptionPresentFlag == 1) {
colorSpace = ColorInfo.isoColorPrimariesToColorSpace(parser.colorPrimaries);
Expand Down
Loading