summaryrefslogtreecommitdiff
path: root/libavfilter/vf_overlay_vulkan.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-28 00:42:44 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-05 18:58:29 +0200
commit4c0adcd07eafa1b051946f6e50f98678efc5a5aa (patch)
treedaf185f988ecaedf1ecf639893a9fa3b88390f93 /libavfilter/vf_overlay_vulkan.c
parentbe8bc645b6b63c9bfdc4a4c3e256f3bae5133e2a (diff)
avfilter/vulkan: Store format in filter, remove query function
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_overlay_vulkan.c')
-rw-r--r--libavfilter/vf_overlay_vulkan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_overlay_vulkan.c b/libavfilter/vf_overlay_vulkan.c
index 5573e5e57d..4b49878b85 100644
--- a/libavfilter/vf_overlay_vulkan.c
+++ b/libavfilter/vf_overlay_vulkan.c
@@ -482,7 +482,7 @@ const AVFilter ff_vf_overlay_vulkan = {
.activate = &overlay_vulkan_activate,
FILTER_INPUTS(overlay_vulkan_inputs),
FILTER_OUTPUTS(overlay_vulkan_outputs),
- FILTER_QUERY_FUNC(&ff_vk_filter_query_formats),
+ FILTER_SINGLE_PIXFMT(AV_PIX_FMT_VULKAN),
.priv_class = &overlay_vulkan_class,
.flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE,
};