diff options
author | James Almer <jamrial@gmail.com> | 2023-04-12 19:35:56 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-05-04 19:19:13 -0300 |
commit | af8db9106c27a1ef11ec69ecbbe7a57462c14367 (patch) | |
tree | 8b944cf3e6f6f786106e266b15f5addb5c3aeb5f /libavfilter/vf_showinfo.c | |
parent | dc7bd7c5a5ad5ea800dfb63cc5dd15670d065527 (diff) | |
download | ffmpeg-af8db9106c27a1ef11ec69ecbbe7a57462c14367.tar.gz |
avfilter: use the new AVFrame key_frame flag in all filters
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/vf_showinfo.c')
-rw-r--r-- | libavfilter/vf_showinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 6ecab2bf71..bf8580bc8d 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@ -724,7 +724,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) frame->width, frame->height, !(frame->flags & AV_FRAME_FLAG_INTERLACED) ? 'P' : /* Progressive */ (frame->flags & AV_FRAME_FLAG_TOP_FIELD_FIRST) ? 'T' : 'B', /* Top / Bottom */ - frame->key_frame, + !!(frame->flags & AV_FRAME_FLAG_KEY), av_get_picture_type_char(frame->pict_type)); if (s->calculate_checksums) { |