vafilter: Increase the number of 3DLUT caps to 16.

To fix the warning on Alderlake

vafilter gstvafilter.c:534:gst_va_filter_ensure_filters:<vafilter0>
vaQueryVideoProcFiltersCaps: list argument exceeds maximum number

Increase the number of caps to 16 as vadumpcaps does.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3473>
This commit is contained in:
Victor Manuel Jaquez Leal 2022-11-26 20:48:45 +01:00 committed by GStreamer Marge Bot
parent 1f88f411bc
commit b25b1be70d

View file

@ -444,7 +444,7 @@ static const struct VaFilterCapMap {
F(HVSNoiseReduction, 0),
F(HighDynamicRangeToneMapping, 1),
#if VA_CHECK_VERSION (1, 12, 0)
F(3DLUT, 1),
F(3DLUT, 16),
#endif
#undef F
};
@ -481,6 +481,9 @@ struct VaFilter
VAProcFilterCapColorBalance cb[VAProcColorBalanceCount];
VAProcFilterCapTotalColorCorrection cc[VAProcTotalColorCorrectionCount];
VAProcFilterCapHighDynamicRange hdr;
#if VA_CHECK_VERSION (1, 12, 0)
VAProcFilterCap3DLUT lut[16];
#endif
} caps;
};