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
2b26077c
Commit
2b26077c
authored
Apr 05, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/blend: use standard options parsing
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
a95e6838
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
vf_blend.c
libavfilter/vf_blend.c
+3
-6
No files found.
libavfilter/vf_blend.c
View file @
2b26077c
...
@@ -225,12 +225,6 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
...
@@ -225,12 +225,6 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
BlendContext
*
b
=
ctx
->
priv
;
BlendContext
*
b
=
ctx
->
priv
;
int
ret
,
plane
;
int
ret
,
plane
;
b
->
class
=
&
blend_class
;
av_opt_set_defaults
(
b
);
if
((
ret
=
av_set_options_string
(
b
,
args
,
"="
,
":"
))
<
0
)
return
ret
;
for
(
plane
=
0
;
plane
<
FF_ARRAY_ELEMS
(
b
->
params
);
plane
++
)
{
for
(
plane
=
0
;
plane
<
FF_ARRAY_ELEMS
(
b
->
params
);
plane
++
)
{
FilterParams
*
param
=
&
b
->
params
[
plane
];
FilterParams
*
param
=
&
b
->
params
[
plane
];
...
@@ -460,6 +454,8 @@ static const AVFilterPad blend_outputs[] = {
...
@@ -460,6 +454,8 @@ static const AVFilterPad blend_outputs[] = {
{
NULL
}
{
NULL
}
};
};
static
const
char
*
const
shorthand
[]
=
{
NULL
};
AVFilter
avfilter_vf_blend
=
{
AVFilter
avfilter_vf_blend
=
{
.
name
=
"blend"
,
.
name
=
"blend"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Blend two video frames into each other."
),
.
description
=
NULL_IF_CONFIG_SMALL
(
"Blend two video frames into each other."
),
...
@@ -470,4 +466,5 @@ AVFilter avfilter_vf_blend = {
...
@@ -470,4 +466,5 @@ AVFilter avfilter_vf_blend = {
.
inputs
=
blend_inputs
,
.
inputs
=
blend_inputs
,
.
outputs
=
blend_outputs
,
.
outputs
=
blend_outputs
,
.
priv_class
=
&
blend_class
,
.
priv_class
=
&
blend_class
,
.
shorthand
=
shorthand
,
};
};
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