Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
e60fcdb9
Commit
e60fcdb9
authored
Sep 05, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vf_hue: fix AVOption defaults
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
750cc3c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vf_hue.c
libavfilter/vf_hue.c
+3
-3
No files found.
libavfilter/vf_hue.c
View file @
e60fcdb9
...
@@ -53,11 +53,11 @@ typedef struct {
...
@@ -53,11 +53,11 @@ typedef struct {
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
static
const
AVOption
hue_options
[]
=
{
static
const
AVOption
hue_options
[]
=
{
{
"h"
,
"set the hue angle degrees"
,
OFFSET
(
hue_deg
),
AV_OPT_TYPE_FLOAT
,
{
"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
,
{
"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
,
{
"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
}
{
NULL
}
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment