plugins: don't reallocate pool allocator for the same caps.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 12 Jul 2013 15:47:07 +0000 (17:47 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 12 Jul 2013 15:55:37 +0000 (17:55 +0200)
commit5e18a5b1bd187c9e59a6356611557903abb91bb5
tree43dbb0f2430f0426bd4c4eb274e958961f53c1b4
parentc82a1bc0ff4339a150cf4e8f8075d51ba49c50f8
plugins: don't reallocate pool allocator for the same caps.

If the video buffer pool config doesn't have new caps, then it's not
necessary to reinstantiate the allocator. That could be a costly
operation as we could do some extra heavy checking in there.
gst/vaapi/gstvaapivideobufferpool.c