Skip to content
Snippets Groups Projects
Commit 11ab2c25 authored by Nicolas George's avatar Nicolas George
Browse files

lavfi/avfiltergraph: print query_formats errors.

parent 5f12d5ad
No related branches found
No related tags found
No related merge requests found
......@@ -195,8 +195,11 @@ static int filter_query_formats(AVFilterContext *ctx)
ctx->outputs && ctx->outputs[0] ? ctx->outputs[0]->type :
AVMEDIA_TYPE_VIDEO;
if ((ret = ctx->filter->query_formats(ctx)) < 0)
if ((ret = ctx->filter->query_formats(ctx)) < 0) {
av_log(ctx, AV_LOG_ERROR, "Query format failed for '%s': %s\n",
ctx->name, av_err2str(ret));
return ret;
}
formats = ff_all_formats(type);
if (!formats)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment