lavfi: print the error message when threading init fails.

pull/263/head
Nicolas George 8 years ago
parent 3996ae9302
commit d790f18ac0
  1. 2
      libavfilter/avfiltergraph.c

@ -193,7 +193,7 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph,
} else {
int ret = ff_graph_thread_init(graph);
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;
}
}

Loading…
Cancel
Save