va: Consider the compatibility when we get_profile() for H265 decoder.
authorHe Junyan <junyan.he@intel.com>
Sat, 26 Jun 2021 13:42:37 +0000 (21:42 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 2 Jul 2021 10:27:41 +0000 (10:27 +0000)
commitb269cd5319e1b8a130cb615f19b3af03a3380dbf
tree10d54a06e33849bf5b41e057dd637bea59176701
parent8ba730a5644a2db250ef8373a6c09d48a1c07f35
va: Consider the compatibility when we get_profile() for H265 decoder.

Adding the compatile profiles when we decide the final profile used for decoding.
The final profile candidates include:
1. The profile directly specified by SPS, which is the exact one.
2. The compatile profiles decided by the upstream element such as the h265parse.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2322>
sys/va/gstvah265dec.c