Gstreamer 1.16.2 Error gst_buffer_resize_range

Hey,

I’m getting a critical gstreamer error gst_buffer_resize_range: assertion 'bufmax >= bufoffs + offset + size' failed
Is there anyway to fix this?

Hi,
You can download gst-v4l2 source code and apply the patch in
Gstreamer udp decoding pipeline in Jetson TX2 - #16 by nicolas.dufresne

and rebuild/replace

/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvvideo4linux2.so

I changed
if (group->planes[i].bytesused > group->planes[i].data_offset) {
to
if (group->planes[i].bytesused >= group->planes[i].data_offset) {

and made libgstnvvideo4linux2.so (321KB) and copied it to/home/ubuntu/gst-1.16.2/lib/aarch64-linux-gnu/gstreamer-1.0

but I’m still getting the same error, It looks like the bufferpool was already patched.

Hi,
By default we validate the test cases with Gstreamer 1.14.5. We will check this once we plan to upgrade to newer version.