Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2013-10-06 21:12:15 +0400
committerMarton Balint <cus@passwd.hu>2013-10-13 14:31:52 +0400
commit0258e4dc8ba8b0e47c42ba73f06211094b1ceac8 (patch)
treef176861d7256b34a511fbe03bd882fa501110803 /ffplay.c
parentb118d3e24d3544afb54b8b8a1d7de386287a851a (diff)
ffplay: add null packet after attached pics packet
Fixes ticket #2904. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-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;
}