summaryrefslogtreecommitdiffstats
path: root/libavfilter/f_sendcmd.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-12 15:45:28 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-12 15:45:28 +0200
commit292f68154b669d2d8e304b4bd7966938d4f9a393 (patch)
treea2c2426b2e4aac197d6da14a383e94998a9f3e5d /libavfilter/f_sendcmd.c
parentf81a8e89a1c2819bc0b39153023188f955d3c52c (diff)
downloadffmpeg-streaming-292f68154b669d2d8e304b4bd7966938d4f9a393.zip
ffmpeg-streaming-292f68154b669d2d8e304b4bd7966938d4f9a393.tar.gz
avfilter: Filter options that are used for both video and audio should have both flags
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/f_sendcmd.c')
-rw-r--r--libavfilter/f_sendcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/f_sendcmd.c b/libavfilter/f_sendcmd.c
index 092a9c0..bb5a693 100644
--- a/libavfilter/f_sendcmd.c
+++ b/libavfilter/f_sendcmd.c
@@ -80,7 +80,7 @@ typedef struct {
} SendCmdContext;
#define OFFSET(x) offsetof(SendCmdContext, x)
-#define FLAGS AV_OPT_FLAG_FILTERING_PARAM
+#define FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_VIDEO_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 },
OpenPOWER on IntegriCloud