projects
/
profile
/
ivi
/
libva.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55f9b01
)
i965_drv_video: set the number of elements in a buffer store.
05/705/1
author
Osin, Alexander I
<alexander.i.osin@intel.com>
Wed, 9 Feb 2011 01:17:17 +0000
(09:17 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 9 Feb 2011 01:17:17 +0000
(09:17 +0800)
i965_drv_video/i965_drv_video.c
patch
|
blob
|
history
diff --git
a/i965_drv_video/i965_drv_video.c
b/i965_drv_video/i965_drv_video.c
index
ce2d4bd
..
e047057
100644
(file)
--- a/
i965_drv_video/i965_drv_video.c
+++ b/
i965_drv_video/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;