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

Martin Storsjö martin at martin.st
Mon Apr 27 22:41:27 EEST 2020


On Wed, 15 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(-)

I don't particularly mind this, so ok

// Martin



More information about the ffmpeg-devel mailing list