mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-30 04:02:04 +08:00
fftools: use the new AVFrame keyframe flag
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -1143,7 +1143,7 @@ static int decode_video(InputStream *ist, const AVPacket *pkt, int *got_output,
|
||||
av_ts2timestr(best_effort_timestamp, &ist->st->time_base),
|
||||
av_ts2str(decoded_frame->duration),
|
||||
av_ts2timestr(decoded_frame->duration, &ist->st->time_base),
|
||||
decoded_frame->key_frame, decoded_frame->pict_type,
|
||||
!!(decoded_frame->flags & AV_FRAME_FLAG_KEY), decoded_frame->pict_type,
|
||||
ist->st->time_base.num, ist->st->time_base.den);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user