-
Notifications
You must be signed in to change notification settings - Fork 77
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
Add App2E HTJ2K constraints validation #375
Conversation
…() to avoid breaking change
Replaced dead links and updated language
"APP2.HT: Parameter B has exceeded its limits"); | ||
isValid = false; | ||
isValid = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove since isValid is true by default and you would not want to overwrite a false value.
logger.addError( | ||
IMFErrorLogger.IMFErrors.ErrorCodes.APPLICATION_COMPOSITION_ERROR, | ||
IMFErrorLogger.IMFErrors.ErrorLevels.FATAL, | ||
"APP2.HT: Parameter B has exceeded its limit to an extend that decoder issues are to be expected"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"APP2.HT: Parameter B has exceeded its limit to an extent that decoder issues are to be expected");
* TODO: This should be revisited as more implementations become available. | ||
*/ | ||
|
||
if (codestreamB > 24) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would be inclined to use the max value allowed in Annex I, i.e., 21.
(Branched off of PR #368 to work around GitHub permission issues.)
Closes #370
Validate the CPL essence descriptors against the APP2.HT.REV and APP2.HT.IRV constraint sets specified in ST 2067-21, Annex I.