You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
ffmpeg_filter: use nb_threads=1 on unused filtergraph
Signed-off-by: DHE <git@dehacked.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -340,6 +340,7 @@ int init_complex_filtergraph(FilterGraph *fg)
|
|||||||
graph = avfilter_graph_alloc();
|
graph = avfilter_graph_alloc();
|
||||||
if (!graph)
|
if (!graph)
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
|
graph->nb_threads = 1;
|
||||||
|
|
||||||
ret = avfilter_graph_parse2(graph, fg->graph_desc, &inputs, &outputs);
|
ret = avfilter_graph_parse2(graph, fg->graph_desc, &inputs, &outputs);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
Reference in New Issue
Block a user