[Libva] [PATCH] initial export_refcount for obj_buffer

Zhao, Halley halley.zhao at intel.com
Tue Sep 2 01:28:07 PDT 2014


From: "Zhao, Halley" <halley.zhao at intel.com>

---
 src/i965_drv_video.c | 1 +
 1 file changed, 1 insertion(+)
 mode change 100755 => 100644 src/i965_drv_video.c

diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
old mode 100755
new mode 100644
index a628e05..b701923
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -1998,6 +1998,7 @@ i965_create_buffer_internal(VADriverContextP ctx,
     obj_buffer->num_elements = num_elements;
     obj_buffer->size_element = size;
     obj_buffer->type = type;
+    obj_buffer->export_refcount = 0;
     obj_buffer->buffer_store = NULL;
     buffer_store = calloc(1, sizeof(struct buffer_store));
     assert(buffer_store);
-- 
1.8.3.2



More information about the Libva mailing list