Commit 1dce7f4e authored by Osin, Alexander I's avatar Osin, Alexander I Committed by Xiang, Haihao

i965_drv_video: set the number of elements in a buffer store.

parent 55f9b018
......@@ -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;
......
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