[FFmpeg-devel] [PATCH] libx264: fix overwriting presets with flags2
Etienne Buira
etienne.buira.lists at free.fr
Tue Sep 13 06:47:30 CEST 2011
On Mon, Sep 12, 2011 at 03:55:34PM -0400, Andrew Wason wrote:
> This fixes overwriting x264 preset settings for flags2 based options.
> See https://ffmpeg.org/trac/ffmpeg/ticket/448
>
>
> Andrew
> diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
...
> + if (avctx->flags2) {
...
It will work for flag enabling, but won't for simple flag disabling (ie
ffmpeg -i input -an -vcodec libx264 -preset medium -flags2 -mbtree
output will leave mbtree enabled).
More information about the ffmpeg-devel
mailing list