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
b52c1d0c
Commit
b52c1d0c
authored
Jan 02, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/yadif: remove unused poll_frame callback
parent
155cdc1d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
29 deletions
+0
-29
vf_yadif.c
libavfilter/vf_yadif.c
+0
-29
No files found.
libavfilter/vf_yadif.c
View file @
b52c1d0c
...
...
@@ -301,34 +301,6 @@ static int request_frame(AVFilterLink *link)
return
0
;
}
static
int
poll_frame
(
AVFilterLink
*
link
)
{
YADIFContext
*
yadif
=
link
->
src
->
priv
;
int
ret
,
val
;
if
(
yadif
->
frame_pending
)
return
1
;
val
=
ff_poll_frame
(
link
->
src
->
inputs
[
0
]);
if
(
val
<=
0
)
return
val
;
//FIXME change API to not requre this red tape
if
(
val
>=
1
&&
!
yadif
->
next
)
{
if
((
ret
=
ff_request_frame
(
link
->
src
->
inputs
[
0
]))
<
0
)
return
ret
;
val
=
ff_poll_frame
(
link
->
src
->
inputs
[
0
]);
if
(
val
<=
0
)
return
val
;
}
assert
(
yadif
->
next
||
!
val
);
if
(
yadif
->
auto_enable
&&
yadif
->
next
&&
!
yadif
->
next
->
video
->
interlaced
)
return
val
;
return
val
*
((
yadif
->
mode
&
1
)
+
1
);
}
static
av_cold
void
uninit
(
AVFilterContext
*
ctx
)
{
YADIFContext
*
yadif
=
ctx
->
priv
;
...
...
@@ -424,7 +396,6 @@ static const AVFilterPad avfilter_vf_yadif_outputs[] = {
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
poll_frame
=
poll_frame
,
.
request_frame
=
request_frame
,
.
config_props
=
config_props
,
},
...
...
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