[FFmpeg-cvslog] ffplay: add null packet after attached pics packet

Marton Balint git at videolan.org
Sun Oct 13 19:42:23 CEST 2013


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Sun Oct  6 19:12:15 2013 +0200| [0258e4dc8ba8b0e47c42ba73f06211094b1ceac8] | committer: Marton Balint

ffplay: add null packet after attached pics packet

Fixes ticket #2904.

Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0258e4dc8ba8b0e47c42ba73f06211094b1ceac8
---

 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;
         }



More information about the ffmpeg-cvslog mailing list