[FFmpeg-devel] [PATCH 06/10] lavc/libopenh264enc: set slice_mode option to deprecated

Anton Khirnov anton at khirnov.net
Fri Apr 10 13:27:46 EEST 2020

Quoting Linjie Fu (2020-04-06 13:14:49)
> "slice mode" 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.
> This could be removed later.
> Signed-off-by: Linjie Fu <linjie.fu at intel.com>
> ---

I'd say also schedule it for removal with new FF_API_ macros, otherwise
deprecated things tend to stay around for way too long.

Anton Khirnov

More information about the ffmpeg-devel mailing list