Wrong frame order from rtsp source

Driver Version : 435.21
CUDA Version : 10.1
Product Name : Tesla P40
Deepstream : 4.0.2
Video SDK : libnvcuvid.so.435.21 (I dont know how to check its version)
Gstreamer : 1.14.5

I add new topic for corresponded to this issue before https://forums.developer.nvidia.com/t/wrong-frame-order-when-decoding-the-stream-on-gpu/112841

Please share a video file and steps so that we can reproduce the issue. Thanks.

For more information, if your RTSP source is a IP camera, please share the brand(Sony, HikVision, …) and model ID.