These filters use ff_set_common_formats_from_list().
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -239,11 +239,6 @@ static int config_output(AVFilterLink *outlink) · 238 unmodified lines | |||
| 239 | FFFrameSyncIn *in; | 239 | FFFrameSyncIn *in; |
| 240 | int ret; | 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 | if (source->w != f1->w || source->h != f1->h || | 242 | if (source->w != f1->w || source->h != f1->h || |
| 248 | source->w != f2->w || source->h != f2->h) { | 243 | source->w != f2->w || source->h != f2->h) { |
| 249 | av_log(ctx, AV_LOG_ERROR, "First input link %s parameters " | 244 | av_log(ctx, AV_LOG_ERROR, "First input link %s parameters " |