state_trackers/vdpau: Test if profile is supported first before trying to create...
authorMaarten Lankhorst <m.b.lankhorst@gmail.com>
Mon, 31 Oct 2011 09:26:02 +0000 (10:26 +0100)
committerChristian König <deathsimple@vodafone.de>
Thu, 3 Nov 2011 12:52:01 +0000 (13:52 +0100)
commit1eb48c5500e5b3e3319108a1cecf63524fdede0d
treea690ccd5b7c02cc1836631d4e3c8011b27f733f6
parentc4d47f065ae2a015a9d2e9a060d71e04d5935c2b
state_trackers/vdpau: Test if profile is supported first before trying to create decoder

So a nicer error message is returned.

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
src/gallium/state_trackers/vdpau/decode.c