From 632c34993195f716e9fa575af3de80d07fd50991 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 15 Mar 2023 18:57:36 +0100 Subject: lavfi: add a flag for filters able to work with hw_device_ctx This way the caller can set it just on the filters that can make use of it. --- libavfilter/vf_tonemap_opencl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavfilter/vf_tonemap_opencl.c') diff --git a/libavfilter/vf_tonemap_opencl.c b/libavfilter/vf_tonemap_opencl.c index f6ebb694a8..883eb04342 100644 --- a/libavfilter/vf_tonemap_opencl.c +++ b/libavfilter/vf_tonemap_opencl.c @@ -547,4 +547,5 @@ const AVFilter ff_vf_tonemap_opencl = { FILTER_OUTPUTS(tonemap_opencl_outputs), FILTER_SINGLE_PIXFMT(AV_PIX_FMT_OPENCL), .flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE, + .flags = AVFILTER_FLAG_HWDEVICE, }; -- cgit v1.2.3