vaapivideomemory: use allocator custom alloc flag
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Thu, 19 May 2016 14:34:50 +0000 (16:34 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Thu, 19 May 2016 14:38:40 +0000 (16:38 +0200)
commit3f61394cb03f440774ebbd94f1a023f79a30058e
tree07cb75102b5d390d58a2c847c3258e8013cf0819
parent1769da4957e1d8d4ffcacf3ae94ffca4e8011219
vaapivideomemory: use allocator custom alloc flag

Instead of a dummy alloc() vmethod, the allocator instance set the flag
GST_ALLOCATOR_FLAG_CUSTOM_ALLOC, which is used by the framework to avoid call
gst_allocator_alloc() on the allocator.
gst/vaapi/gstvaapivideomemory.c