plugins: remove gst_vaapi_plugin_base_get_allowed_srcpad_raw_caps()
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 12 Aug 2020 16:48:59 +0000 (18:48 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 12 Aug 2020 16:48:59 +0000 (18:48 +0200)
commit089ef59c374c1940273a4fa309c08bd7e02ffcd5
tree2bd8b952f0ee1e1727a9019b568dc0ec18542696
parenta50b466fc72d69146c7009b9ed1d931a66e1014b
plugins: remove gst_vaapi_plugin_base_get_allowed_srcpad_raw_caps()

Since nobody uses it, just remove it.

Thus extract_allowed_surface_formats() is refactored to attend only
gst_vaapi_plugin_base_get_allowed_sinkpad_raw_caps().

Now a surface is created when the image chorma is different from the
previous one. And if the driver has the quirk, it outputs all the
supported image formats without trying them.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/381>
gst/vaapi/gstvaapipluginbase.c
gst/vaapi/gstvaapipluginbase.h