xorg/xvmc: Only set decode buffer when available
authorMaarten Lankhorst <m.b.lankhorst@gmail.com>
Sat, 27 Aug 2011 23:58:23 +0000 (01:58 +0200)
committerYounes Manton <younes.m@gmail.com>
Mon, 29 Aug 2011 23:39:22 +0000 (19:39 -0400)
commitf5cf4ec90db3fd69d54375fbe663f54a22dfebc0
tree86c3709413c69761c3f6fcc5b75fd63d5aa4d43c
parentb2064ff3115afa075021902ecd35f4a5a772dc9e
xorg/xvmc: Only set decode buffer when available

The nouveau xvmc decoder doesn't need it.

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