Identifying and publishing the missed/lost frames using nvh265dec decoding

Hi in our application, I need to capture the missed/lost frames at the decoder.
I am using nvh265dec to decode the stream. Sometimes few artifacts observed in the playback and it is due to missed/lost frames. When i used avdec_h265, i am able to see error messages like
‘libav :0:: Could not find ref with POC’ Is there any way to identify the missed/lost frames using nvh265dec. We want to use this as a feedback parameter to control the quality.