mpegts: support for JPEG 2000 is broken
Submitted by Aaron Boxer
Link to original bug (#797292)
Description
The following pipeline used to work:
$ gst-launch-1.0 -v videotestsrc ! openjpegenc ! jpeg2000parse ! mpegtsmux ! tsdemux ! jpeg2000parse ! openjpegdec ! videoconvert ! ximagesink
Now, with gst-plugins-bad master and OpenJPEG master, I get these errors:
:00:00.076905409 26973 0x194c0a0 ERROR tsdemux tsdemux.c:2795:parse_jp2k_access_unit: Required size (23237) greater than remaining size in buffer (23229)
0:00:00.076924988 26973 0x194c0a0 ERROR tsdemux tsdemux.c:2807:parse_jp2k_access_unit: Failed to parse JP2K access unit