diff mbox series

[FFmpeg-devel,3/3] avcodec/libdav1d: stop setting AVFrame->best_effort_timestamp

Message ID 20201213031524.43275-3-jamrial@gmail.com
State Accepted
Commit 081a17990b9a8661ac2d1498937d3b35d26d8912
Headers show
Series [FFmpeg-devel,1/3] avcodec/decode: set best_effort_timestamp on output frames for all decoders | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64 fail Configure fail

Commit Message

James Almer Dec. 13, 2020, 3:15 a.m. UTC
It's now set by the generic decode code.

Signed-off-by: James Almer <jamrial@gmail.com>
---
 libavcodec/libdav1d.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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;