summaryrefslogtreecommitdiff
path: root/dummy_drv_video
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@gmail.com>2010-07-26 11:01:25 +0800
committerAustin Yuan <shengquan.yuan@gmail.com>2010-07-26 11:01:25 +0800
commita40d12d88ea696d6544b2602e2625ad3203f54d1 (patch)
treed057fbf6f7e4caad108ad054f36538c35f9dc613 /dummy_drv_video
parent016c719c13f19a310e1a9114d602b6cd0f3db5ab (diff)
parent6772bdb4406edaf55da2e3604003c9eafff31c36 (diff)
downloadlibva-a40d12d88ea696d6544b2602e2625ad3203f54d1.tar.gz
Diffstat (limited to 'dummy_drv_video')
-rw-r--r--dummy_drv_video/dummy_drv_video.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/dummy_drv_video/dummy_drv_video.c b/dummy_drv_video/dummy_drv_video.c
index ed72824..90eb9c6 100644
--- a/dummy_drv_video/dummy_drv_video.c
+++ b/dummy_drv_video/dummy_drv_video.c
@@ -1040,7 +1040,7 @@ VAStatus dummy_QuerySurfaceStatus(
VAStatus dummy_PutSurface(
VADriverContextP ctx,
VASurfaceID surface,
- Drawable draw, /* X Drawable */
+ void *draw, /* X Drawable */
short srcx,
short srcy,
unsigned short srcw,
@@ -1055,6 +1055,10 @@ VAStatus dummy_PutSurface(
)
{
/* TODO */
+ Drawable drawable = (Drawable)draw;
+
+ (void)drawable;
+
return VA_STATUS_ERROR_UNKNOWN;
}