aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2025-05-16 13:05:21 +0200
committerNiklas Haas <git@haasn.dev>2025-05-23 14:02:45 +0200
commit4f623b4c59c3c838f588e9def7b59dcc26dee7b9 (patch)
tree46be7d1e2faee2e0c45dbd4295cce0401f136ebd /libavfilter/avfilter.c
parenta79720e10f30e9fd18bd78242ce96dde06461343 (diff)
downloadffmpeg-4f623b4c59c3c838f588e9def7b59dcc26dee7b9.tar.gz
avfilter/vf_libplacebo: implement rotation option
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.
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index c76d43a215..56f635a413 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -1071,7 +1071,8 @@ int ff_filter_frame(AVFilterLink *link, AVFrame *frame)
strcmp(link->dst->filter->name, "format") &&
strcmp(link->dst->filter->name, "idet") &&
strcmp(link->dst->filter->name, "null") &&
- strcmp(link->dst->filter->name, "scale")) {
+ strcmp(link->dst->filter->name, "scale") &&
+ strcmp(link->dst->filter->name, "libplacebo")) {
av_assert1(frame->format == link->format);
av_assert1(frame->width == link->w);
av_assert1(frame->height == link->h);