summaryrefslogtreecommitdiff
path: root/libavfilter/vf_avgblur_opencl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_avgblur_opencl.c')
-rw-r--r--libavfilter/vf_avgblur_opencl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_avgblur_opencl.c b/libavfilter/vf_avgblur_opencl.c
index 241c312576..53cd1b8f48 100644
--- a/libavfilter/vf_avgblur_opencl.c
+++ b/libavfilter/vf_avgblur_opencl.c
@@ -347,7 +347,7 @@ const AVFilter ff_vf_avgblur_opencl = {
.uninit = &avgblur_opencl_uninit,
FILTER_INPUTS(avgblur_opencl_inputs),
FILTER_OUTPUTS(avgblur_opencl_outputs),
- FILTER_QUERY_FUNC(&ff_opencl_filter_query_formats),
+ FILTER_SINGLE_PIXFMT(AV_PIX_FMT_OPENCL),
.flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE,
};
@@ -386,7 +386,7 @@ const AVFilter ff_vf_boxblur_opencl = {
.uninit = &avgblur_opencl_uninit,
FILTER_INPUTS(avgblur_opencl_inputs),
FILTER_OUTPUTS(avgblur_opencl_outputs),
- FILTER_QUERY_FUNC(&ff_opencl_filter_query_formats),
+ FILTER_SINGLE_PIXFMT(AV_PIX_FMT_OPENCL),
.flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE,
};