]> git.sesse.net Git - ffmpeg/commitdiff
lavfi/vidstab: add missing flags for 2 options.
authorClément Bœsch <ubitux@gmail.com>
Wed, 24 Apr 2013 15:13:01 +0000 (17:13 +0200)
committerClément Bœsch <ubitux@gmail.com>
Wed, 24 Apr 2013 16:30:42 +0000 (18:30 +0200)
libavfilter/vf_vidstabdetect.c
libavfilter/vf_vidstabtransform.c

index 55df4d962367ca8de802af3a5df40a55c863de34..afd5d37ba556806d75dfcccd6e6c4bf0d0305b63 100644 (file)
@@ -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},
index 10b977e0ce15672e00b4e5853dfa1f293b5f601d..4e9748f69d8bc9b4dff26652221c76a91af4b93c 100644 (file)
@@ -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),