diff options
author | James Almer <jamrial@gmail.com> | 2019-10-17 12:35:28 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-10-17 12:35:28 -0300 |
commit | 39d5acbd097b86a3ab8232a0156a18bf8d8a71ef (patch) | |
tree | 881e9cd760075a68d851861719f87a4d197e8bf0 /libavcodec/libdav1d.c | |
parent | ba191c0ce044a71e49b5bef97dd84d00aa37f4e4 (diff) | |
download | ffmpeg-streaming-39d5acbd097b86a3ab8232a0156a18bf8d8a71ef.zip ffmpeg-streaming-39d5acbd097b86a3ab8232a0156a18bf8d8a71ef.tar.gz |
avcodec/libdav1d: set AVFrame reordered_opaque
Fixes ticket #8300
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/libdav1d.c')
-rw-r--r-- | libavcodec/libdav1d.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c index 9ad735c..8aa248e 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 |