vaapivideobufferpool: reject configuration if allocator isn't vaapi
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 29 Jan 2020 10:55:39 +0000 (11:55 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sun, 2 Feb 2020 16:22:43 +0000 (17:22 +0100)
commit62f3329455b180739492a38a2ac61de22d61eeb6
tree059be9a27587a9432bbde8f5b349aa4d4acd485c
parent5eca31b5e864157d7012d166cb5685a39cf2bc17
vaapivideobufferpool: reject configuration if allocator isn't vaapi

If the requested allocator in set_config() is not a VAAPI valid one,
reject the configuration, instead of lying and using a private one.

This patch superseeds !254 and !24
gst/vaapi/gstvaapivideobufferpool.c