avfilter: use the new AVFrame key_frame flag in all filters

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2023-04-12 19:35:56 -03:00
parent dc7bd7c5a5
commit af8db9106c
8 changed files with 11 additions and 5 deletions

View File

@@ -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) {