Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
748c168f
Commit
748c168f
authored
Nov 01, 2023
by
Andreas Rheinhardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_xmedian: Deduplicate outputs
Signed-off-by:
Andreas Rheinhardt
<
andreas.rheinhardt@outlook.com
>
parent
93abb9b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
17 deletions
+9
-17
vf_xmedian.c
libavfilter/vf_xmedian.c
+9
-17
No files found.
libavfilter/vf_xmedian.c
View file @
748c168f
...
...
@@ -327,6 +327,14 @@ static int activate(AVFilterContext *ctx)
return
ff_framesync_activate
(
&
s
->
fs
);
}
static
const
AVFilterPad
outputs
[]
=
{
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_output
,
},
};
#if CONFIG_XMEDIAN_FILTER
static
av_cold
int
xmedian_init
(
AVFilterContext
*
ctx
)
{
...
...
@@ -363,14 +371,6 @@ static const AVOption xmedian_options[] = {
{
NULL
},
};
static
const
AVFilterPad
outputs
[]
=
{
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_output
,
},
};
FRAMESYNC_DEFINE_CLASS
(
xmedian
,
XMedianContext
,
fs
);
const
AVFilter
ff_vf_xmedian
=
{
...
...
@@ -448,14 +448,6 @@ static const AVFilterPad tmedian_inputs[] = {
},
};
static
const
AVFilterPad
tmedian_outputs
[]
=
{
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_output
,
},
};
AVFILTER_DEFINE_CLASS
(
tmedian
);
const
AVFilter
ff_vf_tmedian
=
{
...
...
@@ -464,7 +456,7 @@ const AVFilter ff_vf_tmedian = {
.
priv_size
=
sizeof
(
XMedianContext
),
.
priv_class
=
&
tmedian_class
,
FILTER_INPUTS
(
tmedian_inputs
),
FILTER_OUTPUTS
(
tmedian_
outputs
),
FILTER_OUTPUTS
(
outputs
),
FILTER_PIXFMTS_ARRAY
(
pixel_fmts
),
.
init
=
init
,
.
uninit
=
uninit
,
...
...
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