pool: fix image pool to check for the video format to use.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 10 Jul 2013 11:32:15 +0000 (13:32 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 10 Jul 2013 15:03:47 +0000 (17:03 +0200)
commit60b003709ffa76890e39d78a3ef528404f1821b5
tree8888867719397615b88d4984715f8d9fd3a885f7
parent4ca7922f4b15857b63fcf6c52aed411146d7c220
pool: fix image pool to check for the video format to use.

Make gst_vaapi_image_pool_new() succeed, and thus returning a valid
image pool object, only if the underlying VA display does support the
requested VA image format.
gst-libs/gst/vaapi/gstvaapiimagepool.c