Does the decoder output the frames based on the PTS? It doesn’t appear to with the source I’m using. Do I need to handle this in the display thread myself?
NVDec accepts only elementary streams (unless things have changed very recently, but I doubt it). Elementary streams do not contain PTS/DTS timestamps.
If you are passing in your own timestamps with pkt.timestamp, then that will be returned in pPicParams->timestamp, but the decoder does not perform pacing using it.