summaryrefslogtreecommitdiff
path: root/fftools/ffplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'fftools/ffplay.c')
-rw-r--r--fftools/ffplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index 368e262123..5d9121e5b7 100644
--- a/fftools/ffplay.c
+++ b/fftools/ffplay.c
@@ -2211,6 +2211,8 @@ static int video_thread(void *arg)
ret = queue_picture(is, frame, pts, duration, frame->pkt_pos, is->viddec.pkt_serial);
av_frame_unref(frame);
#if CONFIG_AVFILTER
+ if (is->videoq.serial != is->viddec.pkt_serial)
+ break;
}
#endif