[FFmpeg-cvslog] fftools/ffmpeg_opt: remove bogus warning of multiple -af and -vf usage

Marton Balint git at videolan.org
Sun Mar 8 20:34:28 EET 2020


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Sat Feb 29 22:51:33 2020 +0100| [60e26346626cc136521a250388b5c7015ba57138] | committer: Marton Balint

fftools/ffmpeg_opt: remove bogus warning of multiple -af and -vf usage

This is redundant after the last patch and also fixes ticket #7712.

Signed-off-by: Marton Balint <cus at passwd.hu>

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

 fftools/ffmpeg_opt.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index aa315ea08a..b1b322c6ef 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -1750,8 +1750,6 @@ static OutputStream *new_video_stream(OptionsContext *o, AVFormatContext *oc, in
 
     MATCH_PER_STREAM_OPT(filter_scripts, str, ost->filters_script, oc, st);
     MATCH_PER_STREAM_OPT(filters,        str, ost->filters,        oc, st);
-    if (o->nb_filters > 1)
-        av_log(NULL, AV_LOG_ERROR, "Only '-vf %s' read, ignoring remaining -vf options: Use ',' to separate filters\n", ost->filters);
 
     if (!ost->stream_copy) {
         const char *p = NULL;
@@ -1933,8 +1931,6 @@ static OutputStream *new_audio_stream(OptionsContext *o, AVFormatContext *oc, in
 
     MATCH_PER_STREAM_OPT(filter_scripts, str, ost->filters_script, oc, st);
     MATCH_PER_STREAM_OPT(filters,        str, ost->filters,        oc, st);
-    if (o->nb_filters > 1)
-        av_log(NULL, AV_LOG_ERROR, "Only '-af %s' read, ignoring remaining -af options: Use ',' to separate filters\n", ost->filters);
 
     if (!ost->stream_copy) {
         char *sample_fmt = NULL;



More information about the ffmpeg-cvslog mailing list