Browse Source

vf_hue: fix AVOption defaults

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer 12 years ago
parent
commit
e60fcdb989
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavfilter/vf_hue.c

+ 3
- 3
libavfilter/vf_hue.c View File

@@ -53,11 +53,11 @@ typedef struct {
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
static const AVOption hue_options[] = {
{ "h", "set the hue angle degrees", OFFSET(hue_deg), AV_OPT_TYPE_FLOAT,
{ -FLT_MAX }, -FLT_MAX, FLT_MAX, FLAGS },
{ .dbl = -FLT_MAX }, -FLT_MAX, FLT_MAX, FLAGS },
{ "H", "set the hue angle radians", OFFSET(hue), AV_OPT_TYPE_FLOAT,
{ -FLT_MAX }, -FLT_MAX, FLT_MAX, FLAGS },
{ .dbl = -FLT_MAX }, -FLT_MAX, FLT_MAX, FLAGS },
{ "s", "set the saturation value", OFFSET(saturation), AV_OPT_TYPE_FLOAT,
{ SAT_DEFAULT_VAL }, -10, 10, FLAGS },
{ .dbl = SAT_DEFAULT_VAL }, -10, 10, FLAGS },
{ NULL }
};



Loading…
Cancel
Save