Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
b5ecfa1d
Commit
b5ecfa1d
authored
Nov 29, 2012
by
Anton Khirnov
Committed by
Michael Niedermayer
Nov 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
buffersink: switch to filter_frame
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
5d796270
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
buffersink.c
libavfilter/buffersink.c
+3
-4
No files found.
libavfilter/buffersink.c
View file @
b5ecfa1d
...
...
@@ -48,13 +48,12 @@ static av_cold void uninit(AVFilterContext *ctx)
av_audio_fifo_free
(
sink
->
audio_fifo
);
}
static
int
start
_frame
(
AVFilterLink
*
link
,
AVFilterBufferRef
*
buf
)
static
int
filter
_frame
(
AVFilterLink
*
link
,
AVFilterBufferRef
*
buf
)
{
BufferSinkContext
*
s
=
link
->
dst
->
priv
;
// av_assert0(!s->cur_buf);
s
->
cur_buf
=
buf
;
link
->
cur_buf
=
NULL
;
return
0
;
}
...
...
@@ -144,7 +143,7 @@ static const AVFilterPad avfilter_vsink_buffer_inputs[] = {
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start
_frame
,
.
filter_frame
=
filter
_frame
,
.
min_perms
=
AV_PERM_READ
,
.
needs_fifo
=
1
},
...
...
@@ -169,7 +168,7 @@ static const AVFilterPad avfilter_asink_abuffer_inputs[] = {
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
filter_frame
=
start
_frame
,
.
filter_frame
=
filter
_frame
,
.
min_perms
=
AV_PERM_READ
,
.
needs_fifo
=
1
},
...
...
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