This filter uses ff_set_common_formats_from_list().
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -230,11 +230,6 @@ static int config_output(AVFilterLink *outlink) · 229 unmodified lines | |||
| 230 | FFFrameSyncIn *in; | 230 | FFFrameSyncIn *in; |
| 231 | int ret; | 231 | int ret; |
| 232 | 232 | ||
| 233 | if (base->format != dark->format || | ||
| 234 | base->format != bright->format) { | ||
| 235 | av_log(ctx, AV_LOG_ERROR, "inputs must be of same pixel format\n"); | ||
| 236 | return AVERROR(EINVAL); | ||
| 237 | } | ||
| 238 | if (base->w != dark->w || base->h != dark->h || | 233 | if (base->w != dark->w || base->h != dark->h || |
| 239 | base->w != bright->w || base->h != bright->h) { | 234 | base->w != bright->w || base->h != bright->h) { |
| 240 | av_log(ctx, AV_LOG_ERROR, "First input link %s parameters " | 235 | av_log(ctx, AV_LOG_ERROR, "First input link %s parameters " |