[FFmpeg-devel] [PATCH V1 04/11] lavfi/hue: enable runtime change flag

Jun Zhao mypopydev at gmail.com
Sat Jan 11 06:13:51 EET 2020


From: Jun Zhao <barryjzhao at tencent.com>

enable runtime change flag.

Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
---
 libavfilter/vf_hue.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavfilter/vf_hue.c b/libavfilter/vf_hue.c
index 323333b..026d4b6 100644
--- a/libavfilter/vf_hue.c
+++ b/libavfilter/vf_hue.c
@@ -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 },
-- 
1.7.1



More information about the ffmpeg-devel mailing list