We use the decoder of tegra_multimedia_api on r28.2.1, and encounter the blocking issue.
We modify 00_video_decode to reproduce this issue, just let it keep looping. The example file is in the attachment.
Run cmd “./video_decode H264 --input-nalu --disable-rendering 3d_1920x1080_60_6000K_360.264”
when the cpu is busy, it maybe blocking.
for example, at same time, I open 8 sessions to run the 01_video_encode that was modifyed in my another topic. https://devtalk.nvidia.com/default/topic/1045023/blocking-when-release-encoder-/#5304510
I have tested this patch, but it still blocking.
[MMAPI]Cannot run NvVideoDecoder in loop/Memory leak in NvVideoEncoder
The stream file is here, http://18.104.22.168/3d_1920x1080_60_6000K_360.264