diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-21 23:52:54 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-22 00:07:35 +0200 |
commit | 39747d87d09079371b75092ba979ca460536f646 (patch) | |
tree | 06a2b63e6b50975a2d4f5f7b4fbc2297e514de84 /libavfilter/graphparser.c | |
parent | 248b1ff26b7ccd4cc2e1ad9220f203015a129a10 (diff) | |
download | ffmpeg-39747d87d09079371b75092ba979ca460536f646.tar.gz |
avfilter_graph_parse: add support for parsing sws_flags
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/graphparser.c')
-rw-r--r-- | libavfilter/graphparser.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |