plugins: use an unique allocator per pad
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Wed, 25 May 2016 10:31:15 +0000 (12:31 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Wed, 8 Jun 2016 08:19:01 +0000 (10:19 +0200)
commitad4c38b36ffdb481db7eb4ef51bc02f987ce2d76
tree8537c3de55ce0ef343b6adbd4cff0816567345c3
parent6c5b6232da85bfdfda5c5fe108ef02fb438e26a9
plugins: use an unique allocator per pad

Instead of instantiating an allocator per vaapivideobufferpool, only one
allocator is instantiated per element's pad and shared among future pools.
If the pad's caps changes, the allocator is reset.

https://bugzilla.gnome.org/show_bug.cgi?id=765435
gst/vaapi/gstvaapipluginbase.c
gst/vaapi/gstvaapipluginbase.h