diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-24 17:13:01 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-24 18:30:42 +0200 |
commit | 9273cc8eb59f606262bca99bf41300452745de50 (patch) | |
tree | fae8feae38ac665a536e270d43d6fc7234069b1b /libavfilter | |
parent | c857c21a8c1c68dde2bd774bbeeafd838093bde7 (diff) | |
download | ffmpeg-9273cc8eb59f606262bca99bf41300452745de50.tar.gz |
lavfi/vidstab: add missing flags for 2 options.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_vidstabdetect.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_vidstabtransform.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_vidstabdetect.c b/libavfilter/vf_vidstabdetect.c index 55df4d9623..afd5d37ba5 100644 --- a/libavfilter/vf_vidstabdetect.c +++ b/libavfilter/vf_vidstabdetect.c @@ -46,7 +46,7 @@ typedef struct { #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM static const AVOption vidstabdetect_options[] = { - {"result", "path to the file used to write the transforms (def:transforms.trf)", OFFSET(result), AV_OPT_TYPE_STRING, {.str = DEFAULT_RESULT_NAME}}, + {"result", "path to the file used to write the transforms (def:transforms.trf)", OFFSET(result), AV_OPT_TYPE_STRING, {.str = DEFAULT_RESULT_NAME}, .flags = FLAGS}, {"shakiness", "how shaky is the video and how quick is the camera?" " 1: little (fast) 10: very strong/quick (slow) (def: 5)", OFFSETC(shakiness), AV_OPT_TYPE_INT, {.i64 = 5}, 1, 10, FLAGS}, {"accuracy", "(>=shakiness) 1: low 15: high (slow) (def: 9)", OFFSETC(accuracy), AV_OPT_TYPE_INT, {.i64 = 9}, 1, 15, FLAGS}, diff --git a/libavfilter/vf_vidstabtransform.c b/libavfilter/vf_vidstabtransform.c index 10b977e0ce..4e9748f69d 100644 --- a/libavfilter/vf_vidstabtransform.c +++ b/libavfilter/vf_vidstabtransform.c @@ -47,7 +47,7 @@ typedef struct { static const AVOption vidstabtransform_options[] = { {"input", "path to the file storing the transforms (def:transforms.trf)", OFFSET(input), - AV_OPT_TYPE_STRING, {.str = DEFAULT_INPUT_NAME} }, + AV_OPT_TYPE_STRING, {.str = DEFAULT_INPUT_NAME}, .flags = FLAGS }, {"smoothing", "number of frames*2 + 1 used for lowpass filtering (def: 10)", OFFSETC(smoothing), AV_OPT_TYPE_INT, {.i64 = 10}, 1, 1000, FLAGS}, {"maxshift", "maximal number of pixels to translate image (def: -1 no limit)", OFFSETC(maxShift), |