diff options
author | James Almer <jamrial@gmail.com> | 2020-05-21 12:20:11 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-05-21 12:32:15 -0300 |
commit | 13b1bbff0be1eeb9471bd5eb9911da15f4b4ac50 (patch) | |
tree | 152a297b607546016227b25071d02a84b79eec84 /libavcodec/avcodec.h | |
parent | cbb1760afab867bf269e4c4f5b7bb63b8c58abc7 (diff) | |
download | ffmpeg-13b1bbff0be1eeb9471bd5eb9911da15f4b4ac50.tar.gz |
avcodec: deprecate Lossless and Intra Only encoder capabilites
Both are codec properties and not encoder capabilities. The relevant
AVCodecDescriptor.props flags exist for this purpose.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index c9baf859ac..4d04787b2d 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -483,14 +483,17 @@ typedef struct RcOverride{ * choice for probing. */ #define AV_CODEC_CAP_AVOID_PROBING (1 << 17) + +#if FF_API_UNUSED_CODEC_CAPS /** - * Codec is intra only. + * Deprecated and unused. Use AVCodecDescriptor.props instead */ #define AV_CODEC_CAP_INTRA_ONLY 0x40000000 /** - * Codec is lossless. + * Deprecated and unused. Use AVCodecDescriptor.props instead */ #define AV_CODEC_CAP_LOSSLESS 0x80000000 +#endif /** * Codec is backed by a hardware implementation. Typically used to |