[FFmpeg-cvslog] avfilter_graph_parse: add support for parsing sws_flags

Michael Niedermayer git at videolan.org
Mon Oct 22 00:12:42 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Oct 21 23:52:54 2012 +0200| [39747d87d09079371b75092ba979ca460536f646] | committer: Michael Niedermayer

avfilter_graph_parse: add support for parsing sws_flags

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=39747d87d09079371b75092ba979ca460536f646
---

 libavfilter/graphparser.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 8792d1e..aed7624 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;



More information about the ffmpeg-cvslog mailing list