Commit 653b18f0cc for ffmpeg
commit 653b18f0ccededfeb3b7a7e0fb4f83792969cee8
Author: Marcos Ashton Iglesias <marcosashiglesias@gmail.com>
Date: Wed Sep 30 19:37:41 2026 +0100
avfilter/vf_transpose_vulkan: handle the deprecated dir values 4-7
These silently behaved as cclock_flip. Map them like vf_transpose does.
diff --git a/libavfilter/vf_transpose_vulkan.c b/libavfilter/vf_transpose_vulkan.c
index 3e6b39d464..50c8b0f3f8 100644
--- a/libavfilter/vf_transpose_vulkan.c
+++ b/libavfilter/vf_transpose_vulkan.c
@@ -153,6 +153,13 @@ static int config_props_output(AVFilterLink *outlink)
AVFilterLink *inlink = avctx->inputs[0];
FilterLink *inl = ff_filter_link(inlink);
+ if (s->dir & 4) {
+ av_log(avctx, AV_LOG_WARNING,
+ "dir values greater than 3 are deprecated, use the passthrough option instead\n");
+ s->dir &= 3;
+ s->passthrough = TRANSPOSE_PT_TYPE_LANDSCAPE;
+ }
+
if ((inlink->w >= inlink->h && s->passthrough == TRANSPOSE_PT_TYPE_LANDSCAPE) ||
(inlink->w <= inlink->h && s->passthrough == TRANSPOSE_PT_TYPE_PORTRAIT)) {
av_log(avctx, AV_LOG_VERBOSE,