aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/f_sendcmd.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-11-29 00:13:29 +0100
committerClément Bœsch <ubitux@gmail.com>2012-11-29 00:50:37 +0100
commit0b70ffa4acc120cfcd40f9e91eccf6d2743c9ae8 (patch)
tree435c64037833c93bb6770de5c59bbb41dd625533 /libavfilter/f_sendcmd.c
parenta5b765236bc542d971131f3cf34ba14486a4c420 (diff)
downloadffmpeg-0b70ffa4acc120cfcd40f9e91eccf6d2743c9ae8.tar.gz
lavfi/sendcmd: add FLAGS to AVOption array.
Diffstat (limited to 'libavfilter/f_sendcmd.c')
-rw-r--r--libavfilter/f_sendcmd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavfilter/f_sendcmd.c b/libavfilter/f_sendcmd.c
index a0925d0608..9b83935242 100644
--- a/libavfilter/f_sendcmd.c
+++ b/libavfilter/f_sendcmd.c
@@ -80,12 +80,12 @@ typedef struct {
} SendCmdContext;
#define OFFSET(x) offsetof(SendCmdContext, x)
-
-static const AVOption sendcmd_options[]= {
- { "commands", "set commands", OFFSET(commands_str), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0 },
- { "c", "set commands", OFFSET(commands_str), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0 },
- { "filename", "set commands file", OFFSET(commands_filename), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0 },
- { "f", "set commands file", OFFSET(commands_filename), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0 },
+#define FLAGS AV_OPT_FLAG_FILTERING_PARAM
+static const AVOption options[] = {
+ { "commands", "set commands", OFFSET(commands_str), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, FLAGS },
+ { "c", "set commands", OFFSET(commands_str), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, FLAGS },
+ { "filename", "set commands file", OFFSET(commands_filename), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, FLAGS },
+ { "f", "set commands file", OFFSET(commands_filename), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, FLAGS },
{NULL},
};