diff --git a/ffplay.c b/ffplay.c index 40647ac977..6bd3460769 100644 --- a/ffplay.c +++ b/ffplay.c @@ -1915,6 +1915,7 @@ static int video_thread(void *arg) stream_toggle_pause(is); } the_end: + avcodec_flush_buffers(is->video_st->codec); #if CONFIG_AVFILTER av_freep(&vfilters); avfilter_graph_free(&graph);