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
216830ac
Commit
216830ac
authored
Sep 28, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/fifo: cosmetics
parent
86f0411a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
24 deletions
+18
-24
fifo.c
libavfilter/fifo.c
+18
-24
No files found.
libavfilter/fifo.c
View file @
216830ac
...
...
@@ -36,7 +36,7 @@
typedef
struct
Buf
{
AVFrame
*
frame
;
struct
Buf
*
next
;
struct
Buf
*
next
;
}
Buf
;
typedef
struct
FifoContext
{
...
...
@@ -254,9 +254,9 @@ static int request_frame(AVFilterLink *outlink)
static
const
AVFilterPad
avfilter_vf_fifo_inputs
[]
=
{
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
filter_frame
=
add_to_queue
,
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
filter_frame
=
add_to_queue
,
},
{
NULL
}
};
...
...
@@ -271,23 +271,20 @@ static const AVFilterPad avfilter_vf_fifo_outputs[] = {
};
AVFilter
ff_vf_fifo
=
{
.
name
=
"fifo"
,
.
name
=
"fifo"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Buffer input images and send them when they are requested."
),
.
init
=
init
,
.
uninit
=
uninit
,
.
priv_size
=
sizeof
(
FifoContext
),
.
inputs
=
avfilter_vf_fifo_inputs
,
.
outputs
=
avfilter_vf_fifo_outputs
,
.
init
=
init
,
.
uninit
=
uninit
,
.
priv_size
=
sizeof
(
FifoContext
),
.
inputs
=
avfilter_vf_fifo_inputs
,
.
outputs
=
avfilter_vf_fifo_outputs
,
};
static
const
AVFilterPad
avfilter_af_afifo_inputs
[]
=
{
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
filter_frame
=
add_to_queue
,
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
filter_frame
=
add_to_queue
,
},
{
NULL
}
};
...
...
@@ -304,12 +301,9 @@ static const AVFilterPad avfilter_af_afifo_outputs[] = {
AVFilter
ff_af_afifo
=
{
.
name
=
"afifo"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Buffer input frames and send them when they are requested."
),
.
init
=
init
,
.
uninit
=
uninit
,
.
priv_size
=
sizeof
(
FifoContext
),
.
inputs
=
avfilter_af_afifo_inputs
,
.
outputs
=
avfilter_af_afifo_outputs
,
.
init
=
init
,
.
uninit
=
uninit
,
.
priv_size
=
sizeof
(
FifoContext
),
.
inputs
=
avfilter_af_afifo_inputs
,
.
outputs
=
avfilter_af_afifo_outputs
,
};
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