summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@intel.com>2009-08-27 17:50:18 +0800
committerAustin Yuan <shengquan.yuan@intel.com>2009-08-27 17:50:18 +0800
commit4e71a2ddfd56543c60e91525726d136a526d1162 (patch)
tree066bfd103760244ccbfbfe297310afb9832f601d
parent4aef21d9d99c622b603d0db3e78fef50ba2fb78e (diff)
downloadlibva-4e71a2ddfd56543c60e91525726d136a526d1162.tar.gz
Assgin VASurfaceRendering a non-zero value instead of 0
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
-rw-r--r--src/va.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/va.h b/src/va.h
index 2d5169a..32eab56 100644
--- a/src/va.h
+++ b/src/va.h
@@ -1250,12 +1250,12 @@ VAStatus vaSyncSurface (
typedef enum
{
- VASurfaceRendering = 0, /* Rendering in progress */
- VASurfaceDisplaying = 1, /* Displaying in progress (not safe to render into it) */
+ VASurfaceRendering = 1, /* Rendering in progress */
+ VASurfaceDisplaying = 2, /* Displaying in progress (not safe to render into it) */
/* this status is useful if surface is used as the source */
/* of an overlay */
- VASurfaceReady = 2, /* not being rendered or displayed */
- VASurfaceSkipped = 4 /* Indicate a skipped frame during encode */
+ VASurfaceReady = 4, /* not being rendered or displayed */
+ VASurfaceSkipped = 8 /* Indicate a skipped frame during encode */
} VASurfaceStatus;
/*