st/va: Return correct status from vlVaQuerySurfaceStatus
authorIndrajit Das <indrajit-kumar.das@amd.com>
Thu, 3 Jan 2019 09:06:33 +0000 (14:36 +0530)
committerLeo Liu <leo.liu@amd.com>
Wed, 9 Jan 2019 16:34:22 +0000 (11:34 -0500)
commitd2c170eb355a912586cb982858faac2fc85c4783
tree5dcfd85e7d3fd1bf828d4bd3739e4756e416c72f
parent0c226d40ef6eb853d370c91ad6cc1ff694eb6727
st/va: Return correct status from vlVaQuerySurfaceStatus

This ensures that during encoding, applications can get
the correct status of the surface before submitting
more operations on the same.

Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Indrajit Das <indrajit-kumar.das@amd.com>
src/gallium/state_trackers/va/surface.c