[FFmpeg-devel] [PATCH v5 3/3] lavc/libopenh264enc: Add coder option to replace cabac

Martin Storsjö martin at martin.st
Tue May 12 12:39:42 EEST 2020


On Wed, 6 May 2020, Linjie Fu wrote:

> 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.
>
> Signed-off-by: Linjie Fu <linjie.fu at intel.com>
> ---
> libavcodec/libopenh264enc.c | 40 +++++++++++++++++++++++++------------
> libavcodec/version.h        |  3 +++
> 2 files changed, 30 insertions(+), 13 deletions(-)

I guess this looks ok - thanks!

// Martin



More information about the ffmpeg-devel mailing list