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
c63e4e65
Commit
c63e4e65
authored
May 26, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/idet: remove request_frame hack
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
1c711b6e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
16 deletions
+7
-16
vf_idet.c
libavfilter/vf_idet.c
+7
-16
No files found.
libavfilter/vf_idet.c
View file @
c63e4e65
...
...
@@ -206,21 +206,6 @@ static int filter_frame(AVFilterLink *link, AVFrame *picref)
return
ff_filter_frame
(
ctx
->
outputs
[
0
],
av_frame_clone
(
idet
->
cur
));
}
static
int
request_frame
(
AVFilterLink
*
link
)
{
AVFilterContext
*
ctx
=
link
->
src
;
IDETContext
*
idet
=
ctx
->
priv
;
do
{
int
ret
;
if
((
ret
=
ff_request_frame
(
link
->
src
->
inputs
[
0
])))
return
ret
;
}
while
(
!
idet
->
cur
);
return
0
;
}
static
av_cold
void
uninit
(
AVFilterContext
*
ctx
)
{
IDETContext
*
idet
=
ctx
->
priv
;
...
...
@@ -273,6 +258,12 @@ static int query_formats(AVFilterContext *ctx)
return
0
;
}
static
int
config_output
(
AVFilterLink
*
outlink
)
{
outlink
->
flags
|=
FF_LINK_FLAG_REQUEST_LOOP
;
return
0
;
}
static
av_cold
int
init
(
AVFilterContext
*
ctx
)
{
IDETContext
*
idet
=
ctx
->
priv
;
...
...
@@ -299,7 +290,7 @@ static const AVFilterPad idet_outputs[] = {
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
request_frame
,
.
config_props
=
config_output
,
},
{
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