diff options
author | James Almer <jamrial@gmail.com> | 2023-04-12 20:07:01 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-05-04 19:20:03 -0300 |
commit | 3e06f6f04020bef32fa42bc9d7f96e76a46453aa (patch) | |
tree | 3cb4509342f7f7fcbc5c0cf20faf4fc3f90202e8 /libavfilter/buffersrc.c | |
parent | c7a8681860d68f3ad00ef49215dbfda52c71c90b (diff) | |
download | ffmpeg-3e06f6f04020bef32fa42bc9d7f96e76a46453aa.tar.gz |
avutil/frame: deprecate key_frame
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/buffersrc.c')
-rw-r--r-- | libavfilter/buffersrc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index 8d5a08995b..612541b803 100644 --- a/libavfilter/buffersrc.c +++ b/libavfilter/buffersrc.c @@ -256,8 +256,12 @@ FF_DISABLE_DEPRECATION_WARNINGS FF_ENABLE_DEPRECATION_WARNINGS #endif +#if FF_API_FRAME_KEY +FF_DISABLE_DEPRECATION_WARNINGS if (copy->key_frame) copy->flags |= AV_FRAME_FLAG_KEY; +FF_ENABLE_DEPRECATION_WARNINGS +#endif ret = ff_filter_frame(ctx->outputs[0], copy); if (ret < 0) |