Commit 4e71a2dd authored by Austin Yuan's avatar Austin Yuan

Assgin VASurfaceRendering a non-zero value instead of 0

Signed-off-by: default avatarAustin Yuan <shengquan.yuan@intel.com>
parent 4aef21d9
......@@ -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;
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment