We've seen memory leak in VPU decoder when decoding TS over UDP stream in Gstreamer with the following command.
gst-launch-1.0 udpsrc port=3000 ! video/mpegts ! tsdemux ! h265parse ! queue ! vpudec ! queue ! kmssink
The source stream is off the shelf encoder.
The leak occurs in the function gst_vpu_dec_object_decode. When VPU_DecDecodeBuf returens VPU_DEC_NO_ENOUGH_INBUF and VPU_DEC_INPUT_USED, the code leaves the buffer allocated and moves to next frame. With our encoder it happens on all frames. It does not happen when playing a file locally.
Please advise the proper way to fix it.
Regards,
David
We are using DART-MX8M from Variscite with Yocto Sumo (kernel 4.14.78) BSP.
this is the third party commany board, we couldn't test it, how about try to use waylandsink or glimagesink ? any difference?
what board and bsp version do you use?