Commit 3d36cb1
Accept multiple colr boxes in a video sample entry
ISO/IEC 14496-12:2015 § 12.1.5.1 permits one or more ColourInformationBoxes
in a VisualSampleEntry and assigns them no normative behaviour; a reader may
keep the first (most accurate) box and ignore the rest. Rejecting a sample
entry that carries a second colr box therefore breaks valid files, such as
the backward-compatible HLG dual-colr signaling convention.
Demote the duplicate-colr case from a hard parse error under Normal strictness
to warn-and-keep-first, rejecting only under Strict. The first box's CICP data
is still surfaced unchanged.1 parent fb7ed9e commit 3d36cb1
3 files changed
Lines changed: 31 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5772 | 5772 | | |
5773 | 5773 | | |
5774 | 5774 | | |
| 5775 | + | |
| 5776 | + | |
| 5777 | + | |
| 5778 | + | |
5775 | 5779 | | |
5776 | 5780 | | |
5777 | | - | |
| 5781 | + | |
5778 | 5782 | | |
5779 | 5783 | | |
5780 | 5784 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
138 | 164 | | |
139 | 165 | | |
140 | 166 | | |
| |||
Binary file not shown.
0 commit comments