hardware/intel/common/libva
Revision | 4e71a2ddfd56543c60e91525726d136a526d1162 (tree) |
---|---|
Time | 2009-08-27 18:50:18 |
Author | Austin Yuan <shengquan.yuan@inte...> |
Commiter | Austin Yuan |
Assgin VASurfaceRendering a non-zero value instead of 0
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
@@ -1250,12 +1250,12 @@ VAStatus vaSyncSurface ( | ||
1250 | 1250 | |
1251 | 1251 | typedef enum |
1252 | 1252 | { |
1253 | - VASurfaceRendering = 0, /* Rendering in progress */ | |
1254 | - VASurfaceDisplaying = 1, /* Displaying in progress (not safe to render into it) */ | |
1253 | + VASurfaceRendering = 1, /* Rendering in progress */ | |
1254 | + VASurfaceDisplaying = 2, /* Displaying in progress (not safe to render into it) */ | |
1255 | 1255 | /* this status is useful if surface is used as the source */ |
1256 | 1256 | /* of an overlay */ |
1257 | - VASurfaceReady = 2, /* not being rendered or displayed */ | |
1258 | - VASurfaceSkipped = 4 /* Indicate a skipped frame during encode */ | |
1257 | + VASurfaceReady = 4, /* not being rendered or displayed */ | |
1258 | + VASurfaceSkipped = 8 /* Indicate a skipped frame during encode */ | |
1259 | 1259 | } VASurfaceStatus; |
1260 | 1260 | |
1261 | 1261 | /* |