cudacodec::createVideoReader lose many frames when i read multi rtsp streams by using multi thread

i save every frame that i read ,and i get 1500 frames every minute. It seems that it did not lose any frames when it read the video stream. Maybe it drop some frame when i process these frames。I will do some tests to confirm it. I want to know that videoReader->nextFrame(g_frame) ,weather this code will wait for the new frame when it doesnt get the new frame .
i save the image when something moves and i found that it moves a large step suddenly every a few seconds. i compared the original video, it moves uniformly.so i think it must lose some frames.
the resolution is 1280*720, cpu is 3.2GHz, GPU is rtx6000