[FFmpeg-cvslog] ffmpeg_filter: use nb_threads=1 on unused filtergraph
DHE
git at videolan.org
Sun Nov 19 05:39:24 EET 2017
ffmpeg | branch: master | DHE <git at dehacked.net> | Thu Nov 16 20:09:37 2017 -0500| [ae61bcbdf83a509553445bf0cbce1dba5ac5b208] | committer: Michael Niedermayer
ffmpeg_filter: use nb_threads=1 on unused filtergraph
Signed-off-by: DHE <git at dehacked.net>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ae61bcbdf83a509553445bf0cbce1dba5ac5b208
---
fftools/ffmpeg_filter.c | 1 +
1 file changed, 1 insertion(+)
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)
More information about the ffmpeg-cvslog
mailing list