aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vsrc_testsrc.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/vsrc_testsrc.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/vsrc_testsrc.c')
-rw-r--r--libavfilter/vsrc_testsrc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c
index c358f9ada2..d4037c6da8 100644
--- a/libavfilter/vsrc_testsrc.c
+++ b/libavfilter/vsrc_testsrc.c
@@ -185,6 +185,7 @@ static int activate(AVFilterContext *ctx)
frame->pts = test->pts;
frame->duration = 1;
frame->key_frame = 1;
+ frame->flags |= AV_FRAME_FLAG_KEY;
#if FF_API_INTERLACED_FRAME
FF_DISABLE_DEPRECATION_WARNINGS
frame->interlaced_frame = 0;