diff options
author | Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | 2010-07-12 23:57:23 +0200 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2010-07-13 08:50:40 +0800 |
commit | eb3dd03bfabdb918a0e7667727411d6faf87d754 (patch) | |
tree | e0bb9e56883387150f59b097ff6aaca48f795918 | |
parent | 501074896a0a48162224717b09db7be9e29aa84e (diff) | |
download | libva-eb3dd03bfabdb918a0e7667727411d6faf87d754.tar.gz |
Fix vaGetImage() to wait for pending operations to complete.
-rw-r--r-- | i965_drv_video/i965_drv_video.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/i965_drv_video/i965_drv_video.c b/i965_drv_video/i965_drv_video.c index 7ca3858..63cd917 100644 --- a/i965_drv_video/i965_drv_video.c +++ b/i965_drv_video/i965_drv_video.c @@ -1602,6 +1602,9 @@ i965_GetImage(VADriverContextP ctx, y + height > obj_image->image.height) return VA_STATUS_ERROR_INVALID_PARAMETER; + /* Commit pending operations to the HW */ + intel_batchbuffer_flush(ctx); + VAStatus va_status; void *image_data = NULL; |