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
8e30514c
Commit
8e30514c
authored
Oct 18, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/buffersink: cosmetics
parent
fddef964
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
22 deletions
+20
-22
buffersink.c
libavfilter/buffersink.c
+20
-22
No files found.
libavfilter/buffersink.c
View file @
8e30514c
...
...
@@ -336,42 +336,40 @@ AVFILTER_DEFINE_CLASS(abuffersink);
static
const
AVFilterPad
avfilter_vsink_buffer_inputs
[]
=
{
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
NULL
}
};
AVFilter
ff_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
),
.
priv_class
=
&
buffersink_class
,
.
init_opaque
=
vsink_init
,
.
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
),
.
priv_class
=
&
buffersink_class
,
.
init_opaque
=
vsink_init
,
.
query_formats
=
vsink_query_formats
,
.
activate
=
activate
,
.
inputs
=
avfilter_vsink_buffer_inputs
,
.
outputs
=
NULL
,
.
activate
=
activate
,
.
inputs
=
avfilter_vsink_buffer_inputs
,
.
outputs
=
NULL
,
};
static
const
AVFilterPad
avfilter_asink_abuffer_inputs
[]
=
{
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
},
{
NULL
}
};
AVFilter
ff_asink_abuffer
=
{
.
name
=
"abuffersink"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Buffer audio frames, and make them available to the end of the filter graph."
),
.
priv_class
=
&
abuffersink_class
,
.
priv_size
=
sizeof
(
BufferSinkContext
),
.
init_opaque
=
asink_init
,
.
name
=
"abuffersink"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Buffer audio frames, and make them available to the end of the filter graph."
),
.
priv_class
=
&
abuffersink_class
,
.
priv_size
=
sizeof
(
BufferSinkContext
),
.
init_opaque
=
asink_init
,
.
query_formats
=
asink_query_formats
,
.
activate
=
activate
,
.
inputs
=
avfilter_asink_abuffer_inputs
,
.
outputs
=
NULL
,
.
activate
=
activate
,
.
inputs
=
avfilter_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