[FFmpeg-cvslog] lavfi: print the error message when threading init fails.
Nicolas George
git at videolan.org
Mon Jun 19 11:53:37 EEST 2017
ffmpeg | branch: master | Nicolas George <george at nsup.org> | Mon Jun 19 10:28:41 2017 +0200| [d790f18ac0c3ef82459ebb526039d42b1ea73bc2] | committer: Nicolas George
lavfi: print the error message when threading init fails.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d790f18ac0c3ef82459ebb526039d42b1ea73bc2
---
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;
}
}
More information about the ffmpeg-cvslog
mailing list