Flipping can already be accomplished by setting the crop_w/h expressions to their negative values, so together these options can implement any of the common frame orientations.
Showing the changes to libavfilter/avfilter.c (1 of 3 files). Show all
Unified · Split
| @@ -1071,7 +1071,8 @@ int ff_filter_frame(AVFilterLink *link, AVFrame *frame) · 1070 unmodified lines | ||
| 1071 | 1071 | strcmp(link->dst->filter->name, "format") && |
| 1072 | 1072 | strcmp(link->dst->filter->name, "idet") && |
| 1073 | 1073 | strcmp(link->dst->filter->name, "null") && |
| 1074 | − strcmp(link->dst->filter->name, "scale")) { | |
| 1074 | + strcmp(link->dst->filter->name, "scale") && | |
| 1075 | + strcmp(link->dst->filter->name, "libplacebo")) { | |
| 1075 | 1076 | av_assert1(frame->format == link->format); |
| 1076 | 1077 | av_assert1(frame->width == link->w); |
| 1077 | 1078 | av_assert1(frame->height == link->h); |