12_v4l2_camera_cuda example does not work with MJPEG

The 06_jpeg_decode example with multiple files and the 12_v4l2_camera_cuda example with an MJPEG camera do not work. In both cases, only the first image is decompressed successfully and subsequent frames simply reproduce the first image even though their content is different. In other words, both examples only decompress a single image, despite the code being designed to decode multiple images. No error is thrown, the decompression functions simply keep returning the same original result, even though the source image changes, as if they are caching the original image. I have used the decompression routines on JetPack 4.6.3 on a Xavier NX and they worked fine, but in this case I am running JetPack 5.1.2 on an Orin Nano. (We need JPEG decompression for a USB camera that we intend to use which outputs MJPEG frames).

Any help would be appreciated. I am assuming a patch to the libnvjpeg.so library may be necessary.

Hi,
This issue is known and we are working on it. Will update when there is further finding.

Fair enough. I look forward to an update. Thank you!