Browse Source

lavfi: print the error message when threading init fails.

tags/n3.4
Nicolas George 8 years ago
parent
commit
d790f18ac0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/avfiltergraph.c

+ 1
- 1
libavfilter/avfiltergraph.c View File

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