diff --git a/ffplay.c b/ffplay.c
index 8517e80767970796e054712822e31ae28148e9b5..122459abe639b23d8297e346e3b42e85484ed72e 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1362,6 +1362,8 @@ static int video_thread(void *arg)
 
             is->last_dts_for_fault_detection=
             is->last_pts_for_fault_detection= INT64_MIN;
+            is->frame_last_pts= AV_NOPTS_VALUE;
+
             continue;
         }