mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
ffplay: add null packet after attached pics packet
Fixes ticket #2904. Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -2904,6 +2904,7 @@ static int read_thread(void *arg)
|
|||||||
if ((ret = av_copy_packet(©, &is->video_st->attached_pic)) < 0)
|
if ((ret = av_copy_packet(©, &is->video_st->attached_pic)) < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
packet_queue_put(&is->videoq, ©);
|
packet_queue_put(&is->videoq, ©);
|
||||||
|
packet_queue_put_nullpacket(&is->videoq, is->video_stream);
|
||||||
}
|
}
|
||||||
is->queue_attachments_req = 0;
|
is->queue_attachments_req = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user