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
da54ad9a
Commit
da54ad9a
authored
Oct 24, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg_filter: Pass command line -threads X to filtergraph
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
6c9c636c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ffmpeg_filter.c
ffmpeg_filter.c
+4
-0
No files found.
ffmpeg_filter.c
View file @
da54ad9a
...
@@ -860,6 +860,10 @@ int configure_filtergraph(FilterGraph *fg)
...
@@ -860,6 +860,10 @@ int configure_filtergraph(FilterGraph *fg)
if
(
strlen
(
args
))
if
(
strlen
(
args
))
args
[
strlen
(
args
)
-
1
]
=
'\0'
;
args
[
strlen
(
args
)
-
1
]
=
'\0'
;
fg
->
graph
->
resample_lavr_opts
=
av_strdup
(
args
);
fg
->
graph
->
resample_lavr_opts
=
av_strdup
(
args
);
e
=
av_dict_get
(
ost
->
opts
,
"threads"
,
NULL
,
0
);
if
(
e
)
av_opt_set
(
fg
->
graph
,
"threads"
,
e
->
value
,
0
);
}
}
if
((
ret
=
avfilter_graph_parse2
(
fg
->
graph
,
graph_desc
,
&
inputs
,
&
outputs
))
<
0
)
if
((
ret
=
avfilter_graph_parse2
(
fg
->
graph
,
graph_desc
,
&
inputs
,
&
outputs
))
<
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