summaryrefslogtreecommitdiff
path: root/src/i965_drv_video.c
diff options
context:
space:
mode:
authorZhao, Halley <halley.zhao@intel.com>2014-09-02 02:28:07 -0600
committerZhao, Yakui <yakui.zhao@intel.com>2014-09-09 10:00:42 +0800
commitf03dc2c08df47e8cf05364bc3c5846b64f427a2f (patch)
tree81758b63d444f72d4e850390f1bfa332ffa6fec7 /src/i965_drv_video.c
parent2e11383b5157c0e933399308de8591dd5c5b5058 (diff)
downloadlibva-intel-driver-f03dc2c08df47e8cf05364bc3c5846b64f427a2f.tar.gz
libva-intel-driver-f03dc2c08df47e8cf05364bc3c5846b64f427a2f.tar.bz2
libva-intel-driver-f03dc2c08df47e8cf05364bc3c5846b64f427a2f.zip
initial export_refcount for obj_buffer
(cherry picked from commit 11d01d01ce7ceedf19c74bdd8a07961b0fd8dd9b)
Diffstat (limited to 'src/i965_drv_video.c')
-rw-r--r--[-rwxr-xr-x]src/i965_drv_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
index f9a1e84..a9d6700 100755..100644
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -1950,6 +1950,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);