avcodec/libdav1d: set AVFrame reordered_opaque

Fixes ticket #8300

Signed-off-by: James Almer <jamrial@gmail.com>
pull/323/head
James Almer 5 years ago
parent ba191c0ce0
commit 39d5acbd09
  1. 2
      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

Loading…
Cancel
Save