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
9a268882
Commit
9a268882
authored
Mar 11, 2013
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/buffersink: rename filter structures.
Reduce the diff with the fork.
parent
f7b041b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
12 deletions
+8
-12
allfilters.c
libavfilter/allfilters.c
+2
-6
buffersink.c
libavfilter/buffersink.c
+6
-6
No files found.
libavfilter/allfilters.c
View file @
9a268882
...
...
@@ -185,17 +185,13 @@ void avfilter_register_all(void)
REGISTER_FILTER_UNCONDITIONAL
(
vsink_ffbuffersink
);
REGISTER_FILTER_UNCONDITIONAL
(
asink_ffabuffersink
);
#if !AV_HAVE_INCOMPATIBLE_FORK_ABI
REGISTER_FILTER_UNCONDITIONAL
(
vsink_buffersink
);
REGISTER_FILTER_UNCONDITIONAL
(
asink_abuffersink
);
#endif
/* those filters are part of public or internal API => registered
* unconditionally */
REGISTER_FILTER_UNCONDITIONAL
(
asrc_abuffer
);
REGISTER_FILTER_UNCONDITIONAL
(
vsrc_buffer
);
//
REGISTER_FILTER_UNCONDITIONAL(asink_abuffer);
//
REGISTER_FILTER_UNCONDITIONAL(vsink_buffer);
REGISTER_FILTER_UNCONDITIONAL
(
asink_abuffer
);
REGISTER_FILTER_UNCONDITIONAL
(
vsink_buffer
);
REGISTER_FILTER_UNCONDITIONAL
(
af_afifo
);
REGISTER_FILTER_UNCONDITIONAL
(
vf_fifo
);
}
libavfilter/buffersink.c
View file @
9a268882
...
...
@@ -512,7 +512,7 @@ AVFilter avfilter_asink_ffabuffersink = {
.
outputs
=
NULL
,
};
static
const
AVFilterPad
buffersink
_inputs
[]
=
{
static
const
AVFilterPad
avfilter_vsink_buffer
_inputs
[]
=
{
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
...
...
@@ -521,7 +521,7 @@ static const AVFilterPad buffersink_inputs[] = {
{
NULL
}
};
AVFilter
avfilter_vsink_buffer
sink
=
{
AVFilter
avfilter_vsink_buffer
=
{
.
name
=
"buffersink"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Buffer video frames, and make them available to the end of the filter graph."
),
.
priv_size
=
sizeof
(
BufferSinkContext
),
...
...
@@ -529,11 +529,11 @@ AVFilter avfilter_vsink_buffersink = {
.
uninit
=
uninit
,
.
query_formats
=
vsink_query_formats
,
.
inputs
=
buffersink
_inputs
,
.
inputs
=
avfilter_vsink_buffer
_inputs
,
.
outputs
=
NULL
,
};
static
const
AVFilterPad
a
buffersink
_inputs
[]
=
{
static
const
AVFilterPad
a
vfilter_asink_abuffer
_inputs
[]
=
{
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
...
...
@@ -542,7 +542,7 @@ static const AVFilterPad abuffersink_inputs[] = {
{
NULL
}
};
AVFilter
avfilter_asink_abuffer
sink
=
{
AVFilter
avfilter_asink_abuffer
=
{
.
name
=
"abuffersink"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Buffer audio frames, and make them available to the end of the filter graph."
),
.
priv_size
=
sizeof
(
BufferSinkContext
),
...
...
@@ -550,6 +550,6 @@ AVFilter avfilter_asink_abuffersink = {
.
uninit
=
uninit
,
.
query_formats
=
asink_query_formats
,
.
inputs
=
a
buffersink
_inputs
,
.
inputs
=
a
vfilter_asink_abuffer
_inputs
,
.
outputs
=
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