mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-30 03:13:18 +00:00
avfilter_graph_parse: add support for parsing sws_flags
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
248b1ff26b
commit
39747d87d0
@ -520,6 +520,9 @@ int avfilter_graph_parse(AVFilterGraph *graph, const char *filters,
|
|||||||
AVFilterInOut *open_inputs = open_inputs_ptr ? *open_inputs_ptr : NULL;
|
AVFilterInOut *open_inputs = open_inputs_ptr ? *open_inputs_ptr : NULL;
|
||||||
AVFilterInOut *open_outputs = open_outputs_ptr ? *open_outputs_ptr : NULL;
|
AVFilterInOut *open_outputs = open_outputs_ptr ? *open_outputs_ptr : NULL;
|
||||||
|
|
||||||
|
if ((ret = parse_sws_flags(&filters, graph)) < 0)
|
||||||
|
goto end;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
AVFilterContext *filter;
|
AVFilterContext *filter;
|
||||||
const char *filterchain = filters;
|
const char *filterchain = filters;
|
||||||
|
Loading…
Reference in New Issue
Block a user