diff options
author | James Almer <jamrial@gmail.com> | 2023-04-11 13:59:49 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-05-04 18:16:47 -0300 |
commit | cc11191fda0471017b03c1434d6d8cb79f6914e5 (patch) | |
tree | 5203822197db01ecd3e324797c177710e91f1fec | |
parent | 599abc0f3a0c6a1d9746a3098cd444a45471a160 (diff) | |
download | ffmpeg-cc11191fda0471017b03c1434d6d8cb79f6914e5.tar.gz |
avutil/frame: add a keyframe flag to AVFrame
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavutil/frame.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h index 095fc39c3f..61a218268e 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -591,6 +591,10 @@ typedef struct AVFrame { */ #define AV_FRAME_FLAG_CORRUPT (1 << 0) /** + * A flag to mark frames that are keyframes. + */ +#define AV_FRAME_FLAG_KEY (1 << 1) +/** * A flag to mark the frames which need to be decoded, but shouldn't be output. */ #define AV_FRAME_FLAG_DISCARD (1 << 2) |