[FFmpeg-cvslog] avcodec/libdav1d: set AVFrame reordered_opaque

James Almer git at videolan.org
Thu Oct 17 18:39:25 EEST 2019


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Oct 17 12:35:28 2019 -0300| [39d5acbd097b86a3ab8232a0156a18bf8d8a71ef] | committer: James Almer

avcodec/libdav1d: set AVFrame reordered_opaque

Fixes ticket #8300

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=39d5acbd097b86a3ab8232a0156a18bf8d8a71ef
---

 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



More information about the ffmpeg-cvslog mailing list