Commit 0258e4dc authored by Marton Balint's avatar Marton Balint

ffplay: add null packet after attached pics packet

Fixes ticket #2904.
Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent b118d3e2
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment