diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-03-15 18:57:36 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-03-24 10:16:51 +0100 |
commit | 632c34993195f716e9fa575af3de80d07fd50991 (patch) | |
tree | a03264f4f07c343b52be4d03a6becc89fa4d9b97 /libavfilter/vsrc_ddagrab.c | |
parent | 30cea1d39b94716f2e24f6d5b07e5bc686fdbaf6 (diff) |
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.
Diffstat (limited to 'libavfilter/vsrc_ddagrab.c')
-rw-r--r-- | libavfilter/vsrc_ddagrab.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vsrc_ddagrab.c b/libavfilter/vsrc_ddagrab.c index 00c72187ea..042842104f 100644 --- a/libavfilter/vsrc_ddagrab.c +++ b/libavfilter/vsrc_ddagrab.c @@ -1056,4 +1056,5 @@ const AVFilter ff_vsrc_ddagrab = { FILTER_OUTPUTS(ddagrab_outputs), FILTER_SINGLE_PIXFMT(AV_PIX_FMT_D3D11), .flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE, + .flags = AVFILTER_FLAG_HWDEVICE, }; |