mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avutil/frame: deprecate key_frame
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
c7a8681860
commit
3e06f6f040
9 changed files with 33 additions and 1 deletions
|
|
@ -184,7 +184,11 @@ static int activate(AVFilterContext *ctx)
|
|||
return AVERROR(ENOMEM);
|
||||
frame->pts = test->pts;
|
||||
frame->duration = 1;
|
||||
#if FF_API_PKT_DURATION
|
||||
FF_DISABLE_DEPRECATION_WARNINGS
|
||||
frame->key_frame = 1;
|
||||
FF_ENABLE_DEPRECATION_WARNINGS
|
||||
#endif
|
||||
frame->flags |= AV_FRAME_FLAG_KEY;
|
||||
#if FF_API_INTERLACED_FRAME
|
||||
FF_DISABLE_DEPRECATION_WARNINGS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue