]> git.sesse.net Git - ffmpeg/commitdiff
fftools/ffmpeg_opt: remove bogus warning of multiple -af and -vf usage
authorMarton Balint <cus@passwd.hu>
Sat, 29 Feb 2020 21:51:33 +0000 (22:51 +0100)
committerMarton Balint <cus@passwd.hu>
Sun, 8 Mar 2020 17:38:31 +0000 (18:38 +0100)
This is redundant after the last patch and also fixes ticket #7712.

Signed-off-by: Marton Balint <cus@passwd.hu>
fftools/ffmpeg_opt.c

index aa315ea08a79e72aa39fbd7ba928ffd117916a36..b1b322c6eff092d7019363a85f5ed810684eafc6 100644 (file)
@@ -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;