Commit 8cebc8e4 authored by Jun Zhao's avatar Jun Zhao

lavfi/hue: enable runtime change flag

enable runtime change flag.
Signed-off-by: 's avatarJun Zhao <barryjzhao@tencent.com>
parent 31b24588
...@@ -86,7 +86,7 @@ typedef struct HueContext { ...@@ -86,7 +86,7 @@ typedef struct HueContext {
} HueContext; } HueContext;
#define OFFSET(x) offsetof(HueContext, x) #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[] = { static const AVOption hue_options[] = {
{ "h", "set the hue angle degrees expression", OFFSET(hue_deg_expr), AV_OPT_TYPE_STRING, { "h", "set the hue angle degrees expression", OFFSET(hue_deg_expr), AV_OPT_TYPE_STRING,
{ .str = NULL }, .flags = FLAGS }, { .str = NULL }, .flags = FLAGS },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment