These filters use ff_set_common_formats_from_list().
Unified · Split
| @@ -239,11 +239,6 @@ static int config_output(AVFilterLink *outlink) · 238 unmodified lines | ||
| 239 | 239 | FFFrameSyncIn *in; |
| 240 | 240 | int ret; |
| 241 | 241 | |
| 242 | − if (source->format != f1->format || | |
| 243 | − source->format != f2->format) { | |
| 244 | − av_log(ctx, AV_LOG_ERROR, "inputs must be of same pixel format\n"); | |
| 245 | − return AVERROR(EINVAL); | |
| 246 | − } | |
| 247 | 242 | if (source->w != f1->w || source->h != f1->h || |
| 248 | 243 | source->w != f2->w || source->h != f2->h) { |
| 249 | 244 | av_log(ctx, AV_LOG_ERROR, "First input link %s parameters " |