Using memory is increased continuously on h.264 file decoding
We are using the GStreamer V1.16.1 on yocto Linux of i.MX8M mini platform. When h.264 video file is decoded with vpudec hardware codec engine, amount of memory allocated in the GStreamer pipeline is sequentially increased. Memory usage is investigated with the 'top' command.
VPUDEC version from i.MX8M mini platform is V4.5.5.
GStreamer pipeline we used is 'GST_DEBUG=3 gst-launch-1.0 filesrc location=./H264_1080i.ts ! tsdemux ! vpudec ! fakesink'. We found this phenomenon is observed in case h.264 content as interlaced video, not progressive one.
Though we contacted NXP team about this issue, they commented this issue is in open source code gstvideodecoder.c and the actual fix has to come from Opensource community.
Could you have any comment or information about this issue? Though we searched for articles related to this issue, we couldn't find some helpful information.
For re-generating this issue, we can provide a sample content file like color bar video. As the file size is large as 55MB, please tell us the mail address we notify the link url for downloading it.