Commit ae61bcbd authored by DHE's avatar DHE Committed by Michael Niedermayer

ffmpeg_filter: use nb_threads=1 on unused filtergraph

Signed-off-by: 's avatarDHE <git@dehacked.net>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 936a4c04
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment