mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-01 13:03:52 +08:00
lavc: use AVFrame.duration instead of AVFrame.pkt_duration
This commit is contained in:
@@ -415,7 +415,7 @@ static int libdav1d_receive_frame(AVCodecContext *c, AVFrame *frame)
|
||||
frame->pkt_dts = p->m.timestamp;
|
||||
frame->pkt_pos = p->m.offset;
|
||||
frame->pkt_size = p->m.size;
|
||||
frame->pkt_duration = p->m.duration;
|
||||
frame->duration = p->m.duration;
|
||||
frame->key_frame = p->frame_hdr->frame_type == DAV1D_FRAME_TYPE_KEY;
|
||||
|
||||
switch (p->frame_hdr->frame_type) {
|
||||
|
||||
Reference in New Issue
Block a user