mesa/st: don't advertise NV_vdpau_interop if it doesn't work.
authorChristian König <christian.koenig@amd.com>
Fri, 29 Aug 2014 09:46:06 +0000 (11:46 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 8 Sep 2014 14:53:39 +0000 (16:53 +0200)
commit12fb74fe895fe9954df127ca0ec6e4422fffb156
tree682eaae9e58ea26db0bc00725790f5783459173f
parenta3306f028eaaed638de2f1e029df3a8d4a2d87ef
mesa/st: don't advertise NV_vdpau_interop if it doesn't work.

As long as we don't have a workaround for frame based
decoding in VDPAU we should not advertise NV_vdpau_interop.

v2: fix commit message, check if get_video_param is present

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/state_tracker/st_extensions.c