From 39747d87d09079371b75092ba979ca460536f646 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 21 Oct 2012 23:52:54 +0200 Subject: [PATCH] avfilter_graph_parse: add support for parsing sws_flags Signed-off-by: Michael Niedermayer --- libavfilter/graphparser.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index 8792d1ee5f..aed7624ccc 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -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_outputs = open_outputs_ptr ? *open_outputs_ptr : NULL; + if ((ret = parse_sws_flags(&filters, graph)) < 0) + goto end; + do { AVFilterContext *filter; const char *filterchain = filters;