diff --git a/ffplay.c b/ffplay.c index f3832291e0..2f24d4922a 100644 --- a/ffplay.c +++ b/ffplay.c @@ -2904,6 +2904,7 @@ static int read_thread(void *arg) if ((ret = av_copy_packet(©, &is->video_st->attached_pic)) < 0) goto fail; packet_queue_put(&is->videoq, ©); + packet_queue_put_nullpacket(&is->videoq, is->video_stream); } is->queue_attachments_req = 0; }