]> git.sesse.net Git - ffmpeg/commitdiff
lavfi/hue: enable runtime change flag
authorJun Zhao <barryjzhao@tencent.com>
Sat, 11 Jan 2020 01:30:46 +0000 (09:30 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Mon, 13 Jan 2020 01:25:18 +0000 (09:25 +0800)
enable runtime change flag.

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
libavfilter/vf_hue.c

index 323333b33cf28efa640f2c18756ccd85047c98fd..026d4b6eecad54633e51f3b38275ad76494ba4e0 100644 (file)
@@ -86,7 +86,7 @@ typedef struct HueContext {
 } HueContext;
 
 #define OFFSET(x) offsetof(HueContext, x)
-#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
+#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
 static const AVOption hue_options[] = {
     { "h", "set the hue angle degrees expression", OFFSET(hue_deg_expr), AV_OPT_TYPE_STRING,
       { .str = NULL }, .flags = FLAGS },