History

lavfi/avfiltergraph: print query_formats errors.

Nicolas George committed 13 years ago

Commit 11ab2c21 parent 5f12d5a1 file · +4 −1Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 1 file). Show all

Unified · Split

libavfilter/avfiltergraph.c+4−1
@@ -195,8 +195,11 @@ static int filter_query_formats(AVFilterContext *ctx) · 194 unmodified lines
195 ctx->outputs && ctx->outputs[0] ? ctx->outputs[0]->type :195 ctx->outputs && ctx->outputs[0] ? ctx->outputs[0]->type :
196 AVMEDIA_TYPE_VIDEO;196 AVMEDIA_TYPE_VIDEO;
197 197
198 if ((ret = ctx->filter->query_formats(ctx)) < 0)198 if ((ret = ctx->filter->query_formats(ctx)) < 0) {
199 av_log(ctx, AV_LOG_ERROR, "Query format failed for '%s': %s\n",
200 ctx->name, av_err2str(ret));
199 return ret;201 return ret;
202 }
200 203
201 formats = ff_all_formats(type);204 formats = ff_all_formats(type);
202 if (!formats)205 if (!formats)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t