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
5afd58fb
Commit
5afd58fb
authored
Apr 10, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/ebur128: switch to an AVOptions-based system.
parent
4964ec2c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
8 deletions
+2
-8
filters.texi
doc/filters.texi
+1
-1
avfilter.c
libavfilter/avfilter.c
+1
-0
f_ebur128.c
libavfilter/f_ebur128.c
+0
-7
No files found.
doc/filters.texi
View file @
5afd58fb
...
...
@@ -6845,7 +6845,7 @@ the momentary loudness (400 milliseconds).
More information about the Loudness Recommendation EBU R128 on
@url{http://tech.ebu.ch/loudness}.
The filter accepts the following
named parameter
s:
The filter accepts the following
option
s:
@table @option
...
...
libavfilter/avfilter.c
View file @
5afd58fb
...
...
@@ -664,6 +664,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!
strcmp
(
filter
->
filter
->
name
,
"delogo"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"drawbox"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"drawtext"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"ebur128"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"fade"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"fieldorder"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"fps"
)
||
...
...
libavfilter/f_ebur128.c
View file @
5afd58fb
...
...
@@ -405,16 +405,9 @@ static struct hist_entry *get_histogram(void)
static
av_cold
int
init
(
AVFilterContext
*
ctx
,
const
char
*
args
)
{
int
ret
;
EBUR128Context
*
ebur128
=
ctx
->
priv
;
AVFilterPad
pad
;
ebur128
->
class
=
&
ebur128_class
;
av_opt_set_defaults
(
ebur128
);
if
((
ret
=
av_set_options_string
(
ebur128
,
args
,
"="
,
":"
))
<
0
)
return
ret
;
if
(
ebur128
->
loglevel
!=
AV_LOG_INFO
&&
ebur128
->
loglevel
!=
AV_LOG_VERBOSE
)
{
if
(
ebur128
->
do_video
||
ebur128
->
metadata
)
...
...
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