diff options
author | Linjie Fu <linjie.fu@intel.com> | 2020-05-06 21:47:52 +0800 |
---|---|---|
committer | Linjie Fu <linjie.fu@intel.com> | 2020-05-13 09:55:54 +0800 |
commit | e4d37abcc13b236a544d37b9a8a4aa16bebe1fda (patch) | |
tree | 4d6428d9866e3f93784e8c8a3546edd73f38298e /libavcodec/version.h | |
parent | e3e2702d400e047d7a12b3c4f7ee666ffdafd090 (diff) | |
download | ffmpeg-e4d37abcc13b236a544d37b9a8a4aa16bebe1fda.tar.gz |
lavc/libopenh264enc: Add coder option to replace cabac
Set DEPRECATED flag to option cabac, replace with coder. The
priority logic is:
1. s->coder; then
2. avctx->coder_type; then
3. s->cabac.
Change the default option to -1 and allow the default cabac to be
determined by profile.
Add FF_API_OPENH264_CABAC macro for cabac to remove this option after
LIBAVCODEC_VERSION_MAJOR = 59.
Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Diffstat (limited to 'libavcodec/version.h')
-rw-r--r-- | libavcodec/version.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/version.h b/libavcodec/version.h index 82255d7f38..9d260c80da 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -138,6 +138,9 @@ #ifndef FF_API_OPENH264_SLICE_MODE #define FF_API_OPENH264_SLICE_MODE (LIBAVCODEC_VERSION_MAJOR < 59) #endif +#ifndef FF_API_OPENH264_CABAC +#define FF_API_OPENH264_CABAC (LIBAVCODEC_VERSION_MAJOR < 59) +#endif #endif /* AVCODEC_VERSION_H */ |