avcodec/libdav1d: set AVFrame reordered_opaque

Fixes ticket #8300

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2019-10-17 12:35:28 -03:00
parent ba191c0ce0
commit 39d5acbd09

View File

@ -260,6 +260,8 @@ static int libdav1d_receive_frame(AVCodecContext *c, AVFrame *frame)
else
frame->format = c->pix_fmt = pix_fmt[p->p.layout][p->seq_hdr->hbd];
frame->reordered_opaque = c->reordered_opaque;
// match timestamps and packet size
frame->pts = frame->best_effort_timestamp = p->m.timestamp;
#if FF_API_PKT_PTS