diff options
author | Clément Bœsch <clement@stupeflix.com> | 2014-07-07 10:23:55 +0200 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2014-07-07 10:24:18 +0200 |
commit | 5f4dbf3c1030df7088f940730d2885bb6f46d718 (patch) | |
tree | 623b234f92382fc5000d4125b139e813b2494be2 | |
parent | 586406980f492466b4b74d8cbb551f49861069ce (diff) | |
download | ffmpeg-5f4dbf3c1030df7088f940730d2885bb6f46d718.tar.gz |
avcodec: make vismv option as flag types
This allows for example -vismv pf+bf+bb instead of -vismv 7.
-rw-r--r-- | libavcodec/options_table.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h index 6185e67937..fa0bdf83f8 100644 --- a/libavcodec/options_table.h +++ b/libavcodec/options_table.h @@ -252,7 +252,7 @@ static const AVOption avcodec_options[] = { {"buffers", "picture buffer allocations", 0, AV_OPT_TYPE_CONST, {.i64 = FF_DEBUG_BUFFERS }, INT_MIN, INT_MAX, V|D, "debug"}, {"thread_ops", "threading operations", 0, AV_OPT_TYPE_CONST, {.i64 = FF_DEBUG_THREADS }, INT_MIN, INT_MAX, V|A|D, "debug"}, {"nomc", "skip motion compensation", 0, AV_OPT_TYPE_CONST, {.i64 = FF_DEBUG_NOMC }, INT_MIN, INT_MAX, V|A|D, "debug"}, -{"vismv", "visualize motion vectors (MVs)", OFFSET(debug_mv), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, 0, INT_MAX, V|D, "debug_mv"}, +{"vismv", "visualize motion vectors (MVs)", OFFSET(debug_mv), AV_OPT_TYPE_FLAGS, {.i64 = DEFAULT }, 0, INT_MAX, V|D, "debug_mv"}, {"pf", "forward predicted MVs of P-frames", 0, AV_OPT_TYPE_CONST, {.i64 = FF_DEBUG_VIS_MV_P_FOR }, INT_MIN, INT_MAX, V|D, "debug_mv"}, {"bf", "forward predicted MVs of B-frames", 0, AV_OPT_TYPE_CONST, {.i64 = FF_DEBUG_VIS_MV_B_FOR }, INT_MIN, INT_MAX, V|D, "debug_mv"}, {"bb", "backward predicted MVs of B-frames", 0, AV_OPT_TYPE_CONST, {.i64 = FF_DEBUG_VIS_MV_B_BACK }, INT_MIN, INT_MAX, V|D, "debug_mv"}, |