aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2013-10-06 19:12:15 +0200
committerMarton Balint <cus@passwd.hu>2013-10-13 12:31:52 +0200
commit0258e4dc8ba8b0e47c42ba73f06211094b1ceac8 (patch)
treef176861d7256b34a511fbe03bd882fa501110803
parentb118d3e24d3544afb54b8b8a1d7de386287a851a (diff)
downloadffmpeg-0258e4dc8ba8b0e47c42ba73f06211094b1ceac8.tar.gz
ffplay: add null packet after attached pics packet
Fixes ticket #2904. Signed-off-by: Marton Balint <cus@passwd.hu>
-rw-r--r--ffplay.c1
1 files changed, 1 insertions, 0 deletions
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(&copy, &is->video_st->attached_pic)) < 0)
goto fail;
packet_queue_put(&is->videoq, &copy);
+ packet_queue_put_nullpacket(&is->videoq, is->video_stream);
}
is->queue_attachments_req = 0;
}