]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/libdav1d: stop setting AVFrame->best_effort_timestamp
authorJames Almer <jamrial@gmail.com>
Sun, 13 Dec 2020 01:20:43 +0000 (22:20 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 13 Dec 2020 15:14:57 +0000 (12:14 -0300)
It's now set by the generic decode code.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/libdav1d.c

index de57bce33d727f08d9f9619a31dae470ad1917b4..383e4557b45b02f38312400e6955b152530f2edf 100644 (file)
@@ -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;