Originally committed as revision 25502 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavfilter/avfiltergraph.c (1 of 7 files). Show all
Unified · Split
| @@ -202,3 +202,16 @@ int avfilter_graph_config_formats(AVFilterGraph *graph, AVClass *log_ctx) · 201 unmodified lines | ||
| 202 | 202 | return 0; |
| 203 | 203 | } |
| 204 | 204 | |
| 205 | +int avfilter_graph_config(AVFilterGraph *graphctx, AVClass *log_ctx) | |
| 206 | +{ | |
| 207 | + int ret; | |
| 208 | + | |
| 209 | + if ((ret = avfilter_graph_check_validity(graphctx, log_ctx))) | |
| 210 | + return ret; | |
| 211 | + if ((ret = avfilter_graph_config_formats(graphctx, log_ctx))) | |
| 212 | + return ret; | |
| 213 | + if ((ret = avfilter_graph_config_links(graphctx, log_ctx))) | |
| 214 | + return ret; | |
| 215 | + | |
| 216 | + return 0; | |
| 217 | +} | |