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
69d72140
Commit
69d72140
authored
May 03, 2014
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/phase: add timeline support.
parent
8de600de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
vf_phase.c
libavfilter/vf_phase.c
+10
-0
No files found.
libavfilter/vf_phase.c
View file @
69d72140
...
...
@@ -243,6 +243,15 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
int
plane
,
top
,
y
;
AVFrame
*
out
;
if
(
ctx
->
is_disabled
)
{
av_frame_free
(
&
s
->
frame
);
/* we keep a reference to the previous frame so the filter can start
* being useful as soon as it's not disabled, avoiding the 1-frame
* delay. */
s
->
frame
=
av_frame_clone
(
in
);
return
ff_filter_frame
(
outlink
,
in
);
}
out
=
ff_get_video_buffer
(
outlink
,
outlink
->
w
,
outlink
->
h
);
if
(
!
out
)
{
av_frame_free
(
&
in
);
...
...
@@ -311,4 +320,5 @@ AVFilter ff_vf_phase = {
.
query_formats
=
query_formats
,
.
inputs
=
phase_inputs
,
.
outputs
=
phase_outputs
,
.
flags
=
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
,
};
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