Commit d790f18a authored by Nicolas George's avatar Nicolas George

lavfi: print the error message when threading init fails.

parent 3996ae93
...@@ -193,7 +193,7 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph, ...@@ -193,7 +193,7 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph,
} else { } else {
int ret = ff_graph_thread_init(graph); int ret = ff_graph_thread_init(graph);
if (ret < 0) { if (ret < 0) {
av_log(graph, AV_LOG_ERROR, "Error initializing threading.\n"); av_log(graph, AV_LOG_ERROR, "Error initializing threading: %s.\n", av_err2str(ret));
return NULL; return NULL;
} }
} }
......
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