summaryrefslogtreecommitdiff
path: root/libavfilter/avfiltergraph.c
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2017-06-19 10:28:41 +0200
committerNicolas George <george@nsup.org>2017-06-19 10:29:17 +0200
commitd790f18ac0c3ef82459ebb526039d42b1ea73bc2 (patch)
tree7e26da388e358c713de5261e7787cecec174d90d /libavfilter/avfiltergraph.c
parent3996ae930256f5c387f2d2e46908b7c433efc588 (diff)
downloadffmpeg-d790f18ac0c3ef82459ebb526039d42b1ea73bc2.tar.gz
lavfi: print the error message when threading init fails.
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r--libavfilter/avfiltergraph.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}