[FFmpeg-cvslog] avcodec/libdav1d: stop setting AVFrame->best_effort_timestamp

James Almer git at videolan.org
Sun Dec 13 17:18:06 EET 2020


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Dec 12 22:20:43 2020 -0300| [081a17990b9a8661ac2d1498937d3b35d26d8912] | committer: James Almer

avcodec/libdav1d: stop setting AVFrame->best_effort_timestamp

It's now set by the generic decode code.

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

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

 libavcodec/libdav1d.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c
index de57bce33d..383e4557b4 100644
--- a/libavcodec/libdav1d.c
+++ b/libavcodec/libdav1d.c
@@ -313,7 +313,7 @@ static int libdav1d_receive_frame(AVCodecContext *c, AVFrame *frame)
     }
 
     // match timestamps and packet size
-    frame->pts = frame->best_effort_timestamp = p->m.timestamp;
+    frame->pts = p->m.timestamp;
 #if FF_API_PKT_PTS
 FF_DISABLE_DEPRECATION_WARNINGS
     frame->pkt_pts = p->m.timestamp;



More information about the ffmpeg-cvslog mailing list