diff options
author | DHE <git@dehacked.net> | 2017-11-17 04:09:37 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-11-19 06:38:29 +0300 |
commit | ae61bcbdf83a509553445bf0cbce1dba5ac5b208 (patch) | |
tree | e3e805801e77fff917707d9e3332511a199ac32d /fftools | |
parent | 936a4c04b9fda79d824ab6c95591425b37e4086f (diff) |
ffmpeg_filter: use nb_threads=1 on unused filtergraph
Signed-off-by: DHE <git@dehacked.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/ffmpeg_filter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index aacc185059..877fd670e6 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @@ -340,6 +340,7 @@ int init_complex_filtergraph(FilterGraph *fg) graph = avfilter_graph_alloc(); if (!graph) return AVERROR(ENOMEM); + graph->nb_threads = 1; ret = avfilter_graph_parse2(graph, fg->graph_desc, &inputs, &outputs); if (ret < 0) |