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
4f8e4b8a
Commit
4f8e4b8a
authored
May 26, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/tinterlace: remove request frame hack
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
c63e4e65
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
16 deletions
+1
-16
vf_tinterlace.c
libavfilter/vf_tinterlace.c
+1
-16
No files found.
libavfilter/vf_tinterlace.c
View file @
4f8e4b8a
...
...
@@ -114,6 +114,7 @@ static int config_out_props(AVFilterLink *outlink)
TInterlaceContext
*
tinterlace
=
ctx
->
priv
;
tinterlace
->
vsub
=
desc
->
log2_chroma_h
;
outlink
->
flags
|=
FF_LINK_FLAG_REQUEST_LOOP
;
outlink
->
w
=
inlink
->
w
;
outlink
->
h
=
tinterlace
->
mode
==
MODE_MERGE
||
tinterlace
->
mode
==
MODE_PAD
?
inlink
->
h
*
2
:
inlink
->
h
;
...
...
@@ -351,21 +352,6 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *picref)
return
ret
;
}
static
int
request_frame
(
AVFilterLink
*
outlink
)
{
TInterlaceContext
*
tinterlace
=
outlink
->
src
->
priv
;
AVFilterLink
*
inlink
=
outlink
->
src
->
inputs
[
0
];
do
{
int
ret
;
if
((
ret
=
ff_request_frame
(
inlink
))
<
0
)
return
ret
;
}
while
(
!
tinterlace
->
cur
);
return
0
;
}
static
const
AVFilterPad
tinterlace_inputs
[]
=
{
{
.
name
=
"default"
,
...
...
@@ -380,7 +366,6 @@ static const AVFilterPad tinterlace_outputs[] = {
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_out_props
,
.
request_frame
=
request_frame
,
},
{
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