gstvaapivideomemory: allocator's image size getter
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 29 Jul 2016 13:13:29 +0000 (15:13 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 29 Jul 2016 13:13:29 +0000 (15:13 +0200)
commit892b6d3822f675fdb84be90c4c5bf086cc2af331
tree995f0de76036cb556188246da1890303e0f65d7b
parentd0ee0b4e7216e8694ab3a32830e7eab4071ceca9
gstvaapivideomemory: allocator's image size getter

Add the method gst_allocator_get_vaapi_image_size() for the
GstVaapiVideoAllocator, which gets the size of the allocated images with the
current video info.

This method replaces the direct call to the allocator's image info when the
pool is configured.
gst/vaapi/gstvaapipluginbase.c
gst/vaapi/gstvaapivideomemory.c
gst/vaapi/gstvaapivideomemory.h