Browse Source

avcodec/libdav1d: set AVFrame reordered_opaque

Fixes ticket #8300

Signed-off-by: James Almer <jamrial@gmail.com>
tags/n4.3
James Almer 5 years ago
parent
commit
39d5acbd09
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/libdav1d.c

+ 2
- 0
libavcodec/libdav1d.c 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


Loading…
Cancel
Save