From d790f18ac0c3ef82459ebb526039d42b1ea73bc2 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Mon, 19 Jun 2017 10:28:41 +0200 Subject: [PATCH] lavfi: print the error message when threading init fails. --- libavfilter/avfiltergraph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index 598e50a077..4304c06847 100644 --- a/libavfilter/avfiltergraph.c +++ b/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; } }