[FFmpeg-cvslog] avutil/frame: add a keyframe flag to AVFrame

James Almer git at videolan.org
Fri May 5 02:50:49 EEST 2023


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Apr 11 13:59:49 2023 -0300| [cc11191fda0471017b03c1434d6d8cb79f6914e5] | committer: James Almer

avutil/frame: add a keyframe flag to AVFrame

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cc11191fda0471017b03c1434d6d8cb79f6914e5
---

 libavutil/frame.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavutil/frame.h b/libavutil/frame.h
index 095fc39c3f..61a218268e 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -590,6 +590,10 @@ typedef struct AVFrame {
  * The frame data may be corrupted, e.g. due to decoding errors.
  */
 #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.
  */



More information about the ffmpeg-cvslog mailing list