plugins: fix and optimize check for buffer pool allocator params.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 9 Oct 2013 15:25:10 +0000 (17:25 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 9 Oct 2013 16:30:06 +0000 (18:30 +0200)
commit399e887c4fd365d2a79a208a52c24157afee7ebc
treedee9d486064411e5aed09e9916e0839e8f1b7500
parent77b2d884520f8d5de7f5d77545f2373da002fd30
plugins: fix and optimize check for buffer pool allocator params.

Reset the buffer pool allocator only if the config caps changed in a
sensible way: format or resolution change. i.e. don't bother with
other caps like colorimetry et al. as this doesn't affect the way to
allocate VA surfaces or images.
gst/vaapi/gstvaapivideobufferpool.c
gst/vaapi/gstvaapivideomemory.c
gst/vaapi/gstvaapivideomemory.h