aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-10-21 18:37:38 -0300
committerJames Almer <jamrial@gmail.com>2017-10-21 18:37:38 -0300
commit88e2e31d3460c88fefe17f30d585ec079883f42e (patch)
tree9c443a8fe06bcdd6c91a7249fab6ca0d24fd2f59
parente08897619e0e358a37d125bbebd51e3b73d85136 (diff)
downloadffmpeg-88e2e31d3460c88fefe17f30d585ec079883f42e.tar.gz
avcodec/libxavs: make dia the default for motion-est
This will make the default behavior the same as it was with me_method.
-rw-r--r--libavcodec/libxavs.c2
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" },