Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -762,7 +762,8 @@ static int filter_frame(AVFilterLink *link, AVFrame *in) · 761 unmodified lines | |||
| 762 | 762 | ||
| 763 | //we need to use this filter if something is different for an input and output only | 763 | //we need to use this filter if something is different for an input and output only |
| 764 | //otherwise - just copy the input frame to the output | 764 | //otherwise - just copy the input frame to the output |
| 765 | if ((link->w != outlink->w) || | 765 | if ((link->format != outlink->format) || |
| 766 | (link->w != outlink->w) || | ||
| 766 | (link->h != outlink->h) || | 767 | (link->h != outlink->h) || |
| 767 | (s->src_format.chroma_location != s->dst_format.chroma_location) || | 768 | (s->src_format.chroma_location != s->dst_format.chroma_location) || |
| 768 | (s->src_format.color_family !=s->dst_format.color_family) || | 769 | (s->src_format.color_family !=s->dst_format.color_family) || |