This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

vdec2_process() function call hangs intermittently & indefinitely for h264

A problem we have encountered with decoder (h264) is that sometimes vdec2_process() hangs intermittently & sometimes indefinitely and never returns.
Also, sometimes vdec2_process() returns error like:
 
VIDDEC2_process() ret -1 inId 9 inUse 0 consumed 7
VIDDEC2_process() non-fatal error 0x0
 
We are not sure if such error conditions result in loss of buffers Which We have encountered before & raised another e2e query here

Also, We have faced similar problems with h262 decoder as queried here.

The decoder version for h264 is:
Version 01.10.04

Can you please provide an explanation on the error handling that is expected for using vdec2_process().