aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-04-12 19:35:56 -0300
committerJames Almer <jamrial@gmail.com>2023-05-04 19:19:13 -0300
commitaf8db9106c27a1ef11ec69ecbbe7a57462c14367 (patch)
tree8b944cf3e6f6f786106e266b15f5addb5c3aeb5f /libavfilter/avfilter.c
parentdc7bd7c5a5ad5ea800dfb63cc5dd15670d065527 (diff)
downloadffmpeg-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/avfilter.c')
-rw-r--r--libavfilter/avfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 889808c580..0141b64cbc 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -59,7 +59,7 @@ static void tlog_ref(void *ctx, AVFrame *ref, int end)
ref->width, ref->height,
!(ref->flags & AV_FRAME_FLAG_INTERLACED) ? 'P' : /* Progressive */
(ref->flags & AV_FRAME_FLAG_TOP_FIELD_FIRST) ? 'T' : 'B', /* Top / Bottom */
- ref->key_frame,
+ !!(ref->flags & AV_FRAME_FLAG_KEY),
av_get_picture_type_char(ref->pict_type));
}
if (ref->nb_samples) {