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
918891e1
Commit
918891e1
authored
Dec 20, 2016
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: export ff_filter_set_ready() to the library.
parent
4c24f3ac
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
avfilter.c
libavfilter/avfilter.c
+1
-1
filters.h
libavfilter/filters.h
+12
-0
No files found.
libavfilter/avfilter.c
View file @
918891e1
...
...
@@ -190,7 +190,7 @@ int avfilter_link_get_channels(AVFilterLink *link)
return
link
->
channels
;
}
static
void
ff_filter_set_ready
(
AVFilterContext
*
filter
,
unsigned
priority
)
void
ff_filter_set_ready
(
AVFilterContext
*
filter
,
unsigned
priority
)
{
filter
->
ready
=
FFMAX
(
filter
->
ready
,
priority
);
}
...
...
libavfilter/filters.h
View file @
918891e1
...
...
@@ -27,6 +27,18 @@
#include "avfilter.h"
/**
* Mark a filter ready and schedule it for activation.
*
* This is automatically done when something happens to the filter (queued
* frame, status change, request on output).
* Filters implementing the activate callback can call it directly to
* perform one more round of processing later.
* It is also useful for filters reacting to external or asynchronous
* events.
*/
void
ff_filter_set_ready
(
AVFilterContext
*
filter
,
unsigned
priority
);
/**
* Test and acknowledge the change of status on the link.
*
...
...
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