From 0258e4dc8ba8b0e47c42ba73f06211094b1ceac8 Mon Sep 17 00:00:00 2001 From: Marton Balint Date: Sun, 6 Oct 2013 19:12:15 +0200 Subject: ffplay: add null packet after attached pics packet Fixes ticket #2904. Signed-off-by: Marton Balint --- ffplay.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ffplay.c') 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; } -- cgit v1.2.3