diff options
Diffstat (limited to 'libavfilter/vf_neighbor_opencl.c')
-rw-r--r-- | libavfilter/vf_neighbor_opencl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_neighbor_opencl.c b/libavfilter/vf_neighbor_opencl.c index 93c5fbbadc..98b04b2852 100644 --- a/libavfilter/vf_neighbor_opencl.c +++ b/libavfilter/vf_neighbor_opencl.c @@ -280,7 +280,7 @@ const AVFilter ff_vf_erosion_opencl = { .uninit = &neighbor_opencl_uninit, FILTER_INPUTS(neighbor_opencl_inputs), FILTER_OUTPUTS(neighbor_opencl_outputs), - FILTER_QUERY_FUNC(&ff_opencl_filter_query_formats), + FILTER_SINGLE_PIXFMT(AV_PIX_FMT_OPENCL), .flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE, }; @@ -306,9 +306,9 @@ const AVFilter ff_vf_dilation_opencl = { .priv_class = &dilation_opencl_class, .init = &ff_opencl_filter_init, .uninit = &neighbor_opencl_uninit, - FILTER_QUERY_FUNC(&ff_opencl_filter_query_formats), FILTER_INPUTS(neighbor_opencl_inputs), FILTER_OUTPUTS(neighbor_opencl_outputs), + FILTER_SINGLE_PIXFMT(AV_PIX_FMT_OPENCL), .flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE, }; |