lavfi: print the error message when threading init fails.

This commit is contained in:
Nicolas George 2017-06-19 10:28:41 +02:00
parent 3996ae9302
commit d790f18ac0
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }
} }