mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-20 20:22:30 +00:00
avcodec/libaomenc: correct range for cpu-used
Valid range is [0,8] as stated in aom.git:aom/aomcx.h Fixes #7343
This commit is contained in:
parent
e77a3e996f
commit
076b19660e
@ -731,7 +731,7 @@ static av_cold int av1_init(AVCodecContext *avctx)
|
||||
#define OFFSET(x) offsetof(AOMContext, x)
|
||||
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
|
||||
static const AVOption options[] = {
|
||||
{ "cpu-used", "Quality/Speed ratio modifier", OFFSET(cpu_used), AV_OPT_TYPE_INT, {.i64 = 1}, -8, 8, VE},
|
||||
{ "cpu-used", "Quality/Speed ratio modifier", OFFSET(cpu_used), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 8, VE},
|
||||
{ "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},
|
||||
{ "lag-in-frames", "Number of frames to look ahead at for "
|
||||
|
Loading…
x
Reference in New Issue
Block a user