couldn't reproduce this on nxp board with official bsp
I didnot reproduce any issue,
below is cmd for make v4l2jpegdec plugin output fmt is NV12.
root@imx8qxpc0mek:~# cat /proc/version
Linux version 6.6.23-lts-next-06236-gb586a521770e (oe-user@oe-host) (aarch64-poky-linux-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.42.0.20240216) #1 SMP PREEMPT Fri Jun 7 13:15:57 UTC 2024
root@imx8qxpc0mek:~# gst-launch-1.0 filesrc location=/root/thumbnail_image004.jpg ! jpegparse ! v4l2jpegdec ! "video/x-raw,format=NV12" ! filesink location=dmp.nv12
Setting pipeline to PAUSED ...
====== V4L2DEC: 1.24.0 build on May 6 2024 08:51:28. ======
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.007471000
Setting pipeline to NULL ...
Freeing pipeline .