[FFmpeg-devel] [PATCH 2/4] ffplay: add null packet after attached pics packet

Marton Balint cus at passwd.hu
Sun Oct 6 21:32:56 CEST 2013


Fixes ticket #2904.

Signed-off-by: Marton Balint <cus at passwd.hu>
---
 ffplay.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ffplay.c b/ffplay.c
index f383229..2f24d49 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;
         }
-- 
1.8.1.4



More information about the ffmpeg-devel mailing list