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
b2b25b06
Commit
b2b25b06
authored
Feb 25, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
af_asyncts: switch to an AVOptions-based system.
parent
ac20e3ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
af_asyncts.c
libavfilter/af_asyncts.c
+1
-10
No files found.
libavfilter/af_asyncts.c
View file @
b2b25b06
...
@@ -67,16 +67,6 @@ static const AVClass async_class = {
...
@@ -67,16 +67,6 @@ static const AVClass async_class = {
static
int
init
(
AVFilterContext
*
ctx
,
const
char
*
args
)
static
int
init
(
AVFilterContext
*
ctx
,
const
char
*
args
)
{
{
ASyncContext
*
s
=
ctx
->
priv
;
ASyncContext
*
s
=
ctx
->
priv
;
int
ret
;
s
->
class
=
&
async_class
;
av_opt_set_defaults
(
s
);
if
((
ret
=
av_set_options_string
(
s
,
args
,
"="
,
":"
))
<
0
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"Error parsing options string '%s'.
\n
"
,
args
);
return
ret
;
}
av_opt_free
(
s
);
s
->
pts
=
AV_NOPTS_VALUE
;
s
->
pts
=
AV_NOPTS_VALUE
;
s
->
first_frame
=
1
;
s
->
first_frame
=
1
;
...
@@ -325,6 +315,7 @@ AVFilter avfilter_af_asyncts = {
...
@@ -325,6 +315,7 @@ AVFilter avfilter_af_asyncts = {
.
uninit
=
uninit
,
.
uninit
=
uninit
,
.
priv_size
=
sizeof
(
ASyncContext
),
.
priv_size
=
sizeof
(
ASyncContext
),
.
priv_class
=
&
async_class
,
.
inputs
=
avfilter_af_asyncts_inputs
,
.
inputs
=
avfilter_af_asyncts_inputs
,
.
outputs
=
avfilter_af_asyncts_outputs
,
.
outputs
=
avfilter_af_asyncts_outputs
,
...
...
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