st/vdpau: avoid asserting on new VDP_YCBCR_* formats
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 7 Mar 2020 21:18:26 +0000 (16:18 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 3 Apr 2020 01:40:35 +0000 (01:40 +0000)
commitc1cc79739a8745f2004917a2b170dba4124ef323
treee8a74e498556b1371663ee8b82d25a3c2bf8117e
parentc71c1f44b055c680f073a2608a3bf560b55f8974
st/vdpau: avoid asserting on new VDP_YCBCR_* formats

Depending on user's vdpau headers, not all of those defines may exist.
Eventually we may want a private copy of these, but this is simple
enough for now.

Fixes asserts when running vdpauinfo which supports these recently added
formats.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4108>
src/gallium/state_trackers/vdpau/vdpau_private.h