[FFmpeg-devel] [PATCH] libvpxenc: extend auto-alt-ref range

James Zern jzern at google.com
Sat Nov 3 23:04:57 EET 2018


On Sat, Nov 3, 2018 at 2:02 PM James Zern <jzern at google.com> wrote:
> [...]
>  #define COMMON_OPTIONS \
>      { "auto-alt-ref",    "Enable use of alternate reference " \
> -                         "frames (2-pass only)",                   OFFSET(auto_alt_ref),    AV_OPT_TYPE_INT, {.i64 = -1},      -1,      2,       VE}, \
> +                         "frames (2-pass only)",                   OFFSET(auto_alt_ref),    AV_OPT_TYPE_INT, {.i64 = -1},      -1,      6,       VE}, \

This was extended earlier [1], but probably should have been made
codec specific. I can do that, but we might want to keep the 0-2 range
for vp8 now for compatibility. Any preferences?

[1] 41da4f8cb3 lavc/libvpxenc: fix -auto-alt-ref option type


More information about the ffmpeg-devel mailing list