aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_unsharp_opencl.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-28 00:27:44 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-05 18:58:29 +0200
commitbe8bc645b6b63c9bfdc4a4c3e256f3bae5133e2a (patch)
treea7341c334065ac355c0b2353378e2adda4384600 /libavfilter/vf_unsharp_opencl.c
parent94047d6aa505994e7d4a165b31692c46d7abab2e (diff)
downloadffmpeg-be8bc645b6b63c9bfdc4a4c3e256f3bae5133e2a.tar.gz
avfilter/opencl: Store format in filter, remove query function
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_unsharp_opencl.c')
-rw-r--r--libavfilter/vf_unsharp_opencl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_unsharp_opencl.c b/libavfilter/vf_unsharp_opencl.c
index d8c0c8dc3b..53e310de09 100644
--- a/libavfilter/vf_unsharp_opencl.c
+++ b/libavfilter/vf_unsharp_opencl.c
@@ -405,6 +405,6 @@ const AVFilter ff_vf_unsharp_opencl = {
.uninit = &unsharp_opencl_uninit,
FILTER_INPUTS(unsharp_opencl_inputs),
FILTER_OUTPUTS(unsharp_opencl_outputs),
- FILTER_QUERY_FUNC(&ff_opencl_filter_query_formats),
+ FILTER_SINGLE_PIXFMT(AV_PIX_FMT_OPENCL),
.flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE,
};