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 | 208 | FFFrameSyncIn *in; |
| 209 | 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 | 211 | if (source->w != ref->w || source->h != ref->h) { |
| 216 | 212 | av_log(ctx, AV_LOG_ERROR, "First input link %s parameters " |
| 217 | 213 | "(size %dx%d) do not match the corresponding " |