Skip to content

jpeg2000parse: fix several bugs and refactor

  1. add unit test
  2. should fail negotiation if sink is JPC and src is J2C, as parser can't add j2k box header
  3. always parse J2K box from frame
  4. simplify logic
  5. cache some state in parser for J2C sink and JPC src caps, as the parser may not have access to this info once we skip the J2K box
  6. update src caps if codec format changes
  7. fix typos in media format

fixes #1031 (closed), #802 (closed)

Edited by Aaron Boxer

Merge request reports

Loading