avcodec/libdav1d: set AVFrame reordered_opaque
authorJames Almer <jamrial@gmail.com>
Thu, 17 Oct 2019 15:35:28 +0000 (12:35 -0300)
committerJames Almer <jamrial@gmail.com>
Thu, 17 Oct 2019 15:35:28 +0000 (12:35 -0300)
Fixes ticket #8300

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/libdav1d.c

index 9ad735c..8aa248e 100644 (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