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
38d1a5a2
Commit
38d1a5a2
authored
Apr 11, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/smptebars: switch to AVOptions-based system
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
3c2e4c2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
7 deletions
+0
-7
avfilter.c
libavfilter/avfilter.c
+0
-1
vsrc_testsrc.c
libavfilter/vsrc_testsrc.c
+0
-6
No files found.
libavfilter/avfilter.c
View file @
38d1a5a2
...
...
@@ -694,7 +694,6 @@ static const char *const filters_left_to_update[] = {
"sendcmd"
,
"setdar"
,
"setsar"
,
"smptebars"
,
};
static
int
filter_use_deprecated_init
(
const
char
*
name
)
...
...
libavfilter/vsrc_testsrc.c
View file @
38d1a5a2
...
...
@@ -108,9 +108,6 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
TestSourceContext
*
test
=
ctx
->
priv
;
int
ret
=
0
;
if
((
ret
=
(
av_set_options_string
(
test
,
args
,
"="
,
":"
)))
<
0
)
return
ret
;
test
->
duration
=
-
1
;
if
(
test
->
duration_str
&&
(
ret
=
av_parse_time
(
&
test
->
duration
,
test
->
duration_str
,
1
))
<
0
)
{
...
...
@@ -151,7 +148,6 @@ static av_cold void uninit(AVFilterContext *ctx)
{
TestSourceContext
*
test
=
ctx
->
priv
;
av_opt_free
(
test
);
av_frame_free
(
&
test
->
picref
);
}
...
...
@@ -762,10 +758,8 @@ static av_cold int smptebars_init(AVFilterContext *ctx, const char *args)
{
TestSourceContext
*
test
=
ctx
->
priv
;
test
->
class
=
&
smptebars_class
;
test
->
fill_picture_fn
=
smptebars_fill_picture
;
test
->
draw_once
=
1
;
av_opt_set_defaults
(
test
);
return
init
(
ctx
,
args
);
}
...
...
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