ffmpeg | branch: master | Linjie Fu <fulin...@zju.edu.cn> | Mon Aug 30 21:26:31 2021 +0800| [7352c370faa793f897f44d48e7ddc11a4f11bf92] | committer: Linjie Fu
Revert "fftools/ffmpeg_filter: fix the flags parsing for scaler" This reverts commit b3a0548a981db52911dd34d9de254c4fee0a8f79. This breaks the usage of swscale options, scale_sws_opts should be passed to auto-inserted scale-filters. Signed-off-by: Linjie Fu <linjie.justin...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7352c370faa793f897f44d48e7ddc11a4f11bf92 --- fftools/ffmpeg_filter.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index 67ae2dc824..21d54cc8ae 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @@ -983,11 +983,7 @@ int configure_filtergraph(FilterGraph *fg) } if (strlen(args)) { args[strlen(args)-1] = 0; - - if (!strncmp(args, "sws_flags=", 10)) { - // keep the 'flags=' part - fg->graph->scale_sws_opts = av_strdup(args+4); - } + fg->graph->scale_sws_opts = av_strdup(args); } args[0] = 0; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".