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
9262f132
Commit
9262f132
authored
Nov 29, 2012
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/show{spectrum,waves}: use ff_filter_frame().
parent
605f1d98
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
avf_showspectrum.c
libavfilter/avf_showspectrum.c
+1
-3
avf_showwaves.c
libavfilter/avf_showwaves.c
+1
-3
No files found.
libavfilter/avf_showspectrum.c
View file @
9262f132
...
...
@@ -188,9 +188,7 @@ inline static void push_frame(AVFilterLink *outlink)
showspectrum
->
filled
=
0
;
showspectrum
->
req_fullfilled
=
1
;
ff_start_frame
(
outlink
,
avfilter_ref_buffer
(
showspectrum
->
outpicref
,
~
AV_PERM_WRITE
));
ff_draw_slice
(
outlink
,
0
,
outlink
->
h
,
1
);
ff_end_frame
(
outlink
);
ff_filter_frame
(
outlink
,
avfilter_ref_buffer
(
showspectrum
->
outpicref
,
~
AV_PERM_WRITE
));
}
static
int
request_frame
(
AVFilterLink
*
outlink
)
...
...
libavfilter/avf_showwaves.c
View file @
9262f132
...
...
@@ -153,9 +153,7 @@ inline static void push_frame(AVFilterLink *outlink)
{
ShowWavesContext
*
showwaves
=
outlink
->
src
->
priv
;
ff_start_frame
(
outlink
,
showwaves
->
outpicref
);
ff_draw_slice
(
outlink
,
0
,
outlink
->
h
,
1
);
ff_end_frame
(
outlink
);
ff_filter_frame
(
outlink
,
showwaves
->
outpicref
);
showwaves
->
req_fullfilled
=
1
;
showwaves
->
outpicref
=
NULL
;
showwaves
->
buf_idx
=
0
;
...
...
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