vaapidecodebin: don't load vaapipostproc if not available
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 19 May 2023 11:14:09 +0000 (13:14 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 16 Jun 2023 00:35:38 +0000 (00:35 +0000)
commit1baabfdfea0c5fb06277fc901a2aa587345cfbf5
tree8b45e000454d1e48ee03cb7b564fab0aca0362a0
parenta848621480d99316184426a0224378d5afc1d603
vaapidecodebin: don't load vaapipostproc if not available

And remove the code for missing element since that element is part of the same
plugin, and if not available is because the driver doesn't provide it.

Fixes: #2580
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4871>
subprojects/gstreamer-vaapi/gst/vaapi/gstvaapidecodebin.c