This filter uses ff_set_common_formats_from_list().
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -208,10 +208,6 @@ static int config_output(AVFilterLink *outlink) · 207 unmodified lines | |||
| 208 | FFFrameSyncIn *in; | 208 | FFFrameSyncIn *in; |
| 209 | int ret; | 209 | int ret; |
| 210 | 210 | ||
| 211 | if (source->format != ref->format) { | ||
| 212 | av_log(ctx, AV_LOG_ERROR, "inputs must be of same pixel format\n"); | ||
| 213 | return AVERROR(EINVAL); | ||
| 214 | } | ||
| 215 | if (source->w != ref->w || source->h != ref->h) { | 211 | if (source->w != ref->w || source->h != ref->h) { |
| 216 | av_log(ctx, AV_LOG_ERROR, "First input link %s parameters " | 212 | av_log(ctx, AV_LOG_ERROR, "First input link %s parameters " |
| 217 | "(size %dx%d) do not match the corresponding " | 213 | "(size %dx%d) do not match the corresponding " |