Only half of num-buffers frames were decoded in AVC/JPEG decode
We have a HSD issue where only half of the num-buffers sets in “filesrc” plugin were decoded. Observed issue when testing with Open Source gstvaapi + iHD. Do you know if this is expected or is this a bug?
Eg: (AVC) gst-launch-1.0 -v filesrc location=/mnt/video/sanity/littleGirl_320x240.h264 num-buffers=30 ! h264parse ! vaapih264dec ! filesink location=output/avcdec_320x240.yuv
[Result] num-buffers=30, output number of frames=15
Eg: (JPEG) gst-launch-1.0 -v filesrc location=/mnt/video/sanity/littleGirl_320x240.jpg num-buffers=30 ! jpegparse ! vaapijpegdec ! filesink location=output/jpegdec_320x240.yuv
[Result] num-buffers=30, output number of frames=15