mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-09 07:35:34 +01:00
Add avfilter_graph_config().
Originally committed as revision 25502 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -202,3 +202,16 @@ int avfilter_graph_config_formats(AVFilterGraph *graph, AVClass *log_ctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int avfilter_graph_config(AVFilterGraph *graphctx, AVClass *log_ctx)
|
||||
{
|
||||
int ret;
|
||||
|
||||
if ((ret = avfilter_graph_check_validity(graphctx, log_ctx)))
|
||||
return ret;
|
||||
if ((ret = avfilter_graph_config_formats(graphctx, log_ctx)))
|
||||
return ret;
|
||||
if ((ret = avfilter_graph_config_links(graphctx, log_ctx)))
|
||||
return ret;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user