[FFmpeg-devel] [PATCH v6 5/5] lavc/libopenh264enc: set slice_mode option to deprecated

Martin Storsjö martin at martin.st
Wed Apr 29 11:54:33 EEST 2020


On Wed, 29 Apr 2020, Linjie Fu wrote:

> "slice mode" option seems to be unnecessary since it could be
> determined by -slices/max_nal_size.
>
> default:        SM_FIXEDSLCNUM_SLICE mode with cpu-number slices.
> -slices N:      SM_FIXEDSLCNUM_SLICE mode with N slices.
> -max_nal_size:  SM_SIZELIMITED_SLICE mode with limited size slices.
>
> Add FF_API_OPENH264_SLICE_MODE macro to remove this option after
> LIBAVCODEC_VERSION_MAJOR = 59.
>
> Signed-off-by: Linjie Fu <linjie.fu at intel.com>
> ---
> libavcodec/libopenh264enc.c | 7 +++++--
> libavcodec/version.h        | 3 +++
> 2 files changed, 8 insertions(+), 2 deletions(-)

LGTM

// Martin



More information about the ffmpeg-devel mailing list