diff options
author | Austin Yuan <shengquan.yuan@intel.com> | 2009-08-27 17:50:18 +0800 |
---|---|---|
committer | Austin Yuan <shengquan.yuan@intel.com> | 2009-08-27 17:50:18 +0800 |
commit | 4e71a2ddfd56543c60e91525726d136a526d1162 (patch) | |
tree | 066bfd103760244ccbfbfe297310afb9832f601d | |
parent | 4aef21d9d99c622b603d0db3e78fef50ba2fb78e (diff) | |
download | libva-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.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; /* |