From 39d5acbd097b86a3ab8232a0156a18bf8d8a71ef Mon Sep 17 00:00:00 2001 From: James Almer Date: Thu, 17 Oct 2019 12:35:28 -0300 Subject: [PATCH] avcodec/libdav1d: set AVFrame reordered_opaque Fixes ticket #8300 Signed-off-by: James Almer --- libavcodec/libdav1d.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c index 9ad735c771..8aa248e6cd 100644 --- a/libavcodec/libdav1d.c +++ b/libavcodec/libdav1d.c @@ -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