diff options
Diffstat (limited to 'libavfilter/vf_scale_npp.c')
-rw-r--r-- | libavfilter/vf_scale_npp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/vf_scale_npp.c b/libavfilter/vf_scale_npp.c index 3e25c2c95f..11ac5ad245 100644 --- a/libavfilter/vf_scale_npp.c +++ b/libavfilter/vf_scale_npp.c @@ -594,7 +594,6 @@ const AVFilter ff_vf_scale_npp = { .init = nppscale_init, .uninit = nppscale_uninit, - .query_formats = nppscale_query_formats, .priv_size = sizeof(NPPScaleContext), .priv_class = &nppscale_class, @@ -602,5 +601,7 @@ const AVFilter ff_vf_scale_npp = { FILTER_INPUTS(nppscale_inputs), FILTER_OUTPUTS(nppscale_outputs), + FILTER_QUERY_FUNC(nppscale_query_formats), + .flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE, }; |