mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +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:
parent
b118d3e24d
commit
0258e4dc8b
1
ffplay.c
1
ffplay.c
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user