diff options
author | Paul B Mahol <onemda@gmail.com> | 2015-08-24 14:21:26 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2015-08-24 14:21:26 +0000 |
commit | 2f731d46f0e4601bd6ec38f6005bd49a3009df20 (patch) | |
tree | 8d68696fc71e160925267740bbefe98be9947981 /libavfilter/vf_vectorscope.c | |
parent | c34c050303b11e3f88fa1be7b43fe9439765e0af (diff) | |
download | ffmpeg-2f731d46f0e4601bd6ec38f6005bd49a3009df20.tar.gz |
avfilter/vf_vectorscope: add options with shorter name
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_vectorscope.c')
-rw-r--r-- | libavfilter/vf_vectorscope.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/vf_vectorscope.c b/libavfilter/vf_vectorscope.c index 7f875a4503..dc88a6ce49 100644 --- a/libavfilter/vf_vectorscope.c +++ b/libavfilter/vf_vectorscope.c @@ -51,6 +51,7 @@ typedef struct VectorscopeContext { static const AVOption vectorscope_options[] = { { "mode", "set vectorscope mode", OFFSET(mode), AV_OPT_TYPE_INT, {.i64=0}, 0, MODE_NB-1, FLAGS, "mode"}, + { "m", "set vectorscope mode", OFFSET(mode), AV_OPT_TYPE_INT, {.i64=0}, 0, MODE_NB-1, FLAGS, "mode"}, { "gray", 0, 0, AV_OPT_TYPE_CONST, {.i64=GRAY}, 0, 0, FLAGS, "mode" }, { "color", 0, 0, AV_OPT_TYPE_CONST, {.i64=COLOR}, 0, 0, FLAGS, "mode" }, { "color2", 0, 0, AV_OPT_TYPE_CONST, {.i64=COLOR2}, 0, 0, FLAGS, "mode" }, @@ -58,6 +59,7 @@ static const AVOption vectorscope_options[] = { { "x", "set color component on X axis", OFFSET(x), AV_OPT_TYPE_INT, {.i64=1}, 0, 2, FLAGS}, { "y", "set color component on Y axis", OFFSET(y), AV_OPT_TYPE_INT, {.i64=2}, 0, 2, FLAGS}, { "intensity", "set intensity", OFFSET(intensity), AV_OPT_TYPE_INT, {.i64=1}, 1, 255, FLAGS}, + { "i", "set intensity", OFFSET(intensity), AV_OPT_TYPE_INT, {.i64=1}, 1, 255, FLAGS}, { NULL } }; |