Hi,
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. [url]https://devtalk.nvidia.com/default/topic/1045023/blocking-when-release-encoder-/#5304510[/url]
I have tested this patch, but it still blocking.
[MMAPI]Cannot run NvVideoDecoder in loop/Memory leak in NvVideoEncoder
The stream file is here, [url]http://120.77.3.207/3d_1920x1080_60_6000K_360.264[/url]
Thanks!
video_decode_main.cpp (45.4 KB)
video_encode_main.cpp (44.7 KB)