diff options
author | Sasi Inguva <isasi-at-google.com@ffmpeg.org> | 2016-09-15 13:36:14 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-09-19 19:51:13 +0200 |
commit | 3cb400c11a75e6f645e5267831e6398bdb0b084e (patch) | |
tree | 7724df66569f6ea929097f918efe434e91115d51 /libavutil/frame.h | |
parent | 590f025b3dc078a6be58b36c67d87499f62b521c (diff) | |
download | ffmpeg-3cb400c11a75e6f645e5267831e6398bdb0b084e.tar.gz |
avutil/frame: Add a flag to discard frame after decode.
Signed-off-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/frame.h')
-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 8a41a869b7..1e2691e663 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -396,6 +396,10 @@ typedef struct AVFrame { */ #define AV_FRAME_FLAG_CORRUPT (1 << 0) /** + * A flag to mark the frames which need to be decoded, but shouldn't be output. + */ +#define AV_FRAME_FLAG_DISCARD (1 << 2) +/** * @} */ |