diff options
author | James Almer <jamrial@gmail.com> | 2017-10-22 00:37:38 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-10-22 00:37:38 +0300 |
commit | 88e2e31d3460c88fefe17f30d585ec079883f42e (patch) | |
tree | 9c443a8fe06bcdd6c91a7249fab6ca0d24fd2f59 /libavcodec/libxavs.c | |
parent | e08897619e0e358a37d125bbebd51e3b73d85136 (diff) |
avcodec/libxavs: make dia the default for motion-est
This will make the default behavior the same as it was with me_method.
Diffstat (limited to 'libavcodec/libxavs.c')
-rw-r--r-- | libavcodec/libxavs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libxavs.c b/libavcodec/libxavs.c index f257e5584d..7eb3083da7 100644 --- a/libavcodec/libxavs.c +++ b/libavcodec/libxavs.c @@ -465,7 +465,7 @@ static const AVOption options[] = { { "mbtree", "Use macroblock tree ratecontrol.", OFFSET(mbtree), AV_OPT_TYPE_BOOL, {.i64 = -1 }, -1, 1, VE}, { "mixed-refs", "One reference per partition, as opposed to one reference per macroblock", OFFSET(mixed_refs), AV_OPT_TYPE_BOOL, {.i64 = -1}, -1, 1, VE }, { "fast-pskip", NULL, OFFSET(fast_pskip), AV_OPT_TYPE_BOOL, {.i64 = -1 }, -1, 1, VE}, - { "motion-est", "Set motion estimation method", OFFSET(motion_est), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, XAVS_ME_TESA, VE, "motion-est"}, + { "motion-est", "Set motion estimation method", OFFSET(motion_est), AV_OPT_TYPE_INT, { .i64 = XAVS_ME_DIA }, -1, XAVS_ME_TESA, VE, "motion-est"}, { "dia", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = XAVS_ME_DIA }, INT_MIN, INT_MAX, VE, "motion-est" }, { "hex", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = XAVS_ME_HEX }, INT_MIN, INT_MAX, VE, "motion-est" }, { "umh", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = XAVS_ME_UMH }, INT_MIN, INT_MAX, VE, "motion-est" }, |