diff options
author | Osin, Alexander I <alexander.i.osin@intel.com> | 2011-02-09 09:17:17 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2011-02-09 09:17:17 +0800 |
commit | 96125a023a4e81cca7ea7d776e566a69b38f89f9 (patch) | |
tree | 087e1cb8aa7bee4a1542a728cc7fb0a5f80a925f | |
parent | d02f847d44721295881d3c7ab646b185a4f5a952 (diff) |
i965_drv_video: set the number of elements in a buffer store.
-rw-r--r-- | i965_drv_video.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/i965_drv_video.c b/i965_drv_video.c index ce2d4bd..e047057 100644 --- a/i965_drv_video.c +++ b/i965_drv_video.c @@ -927,6 +927,9 @@ i965_BufferSetNumElements(VADriverContextP ctx, vaStatus = VA_STATUS_ERROR_UNKNOWN; } else { obj_buffer->num_elements = num_elements; + if (obj_buffer->buffer_store != NULL) { + obj_buffer->buffer_store->num_elements = num_elements; + } } return vaStatus; |