You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-30 22:24:04 +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:
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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user