surface: fix surface pool creation with an explicit pixel format.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 10 Jul 2013 12:20:30 +0000 (14:20 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 10 Jul 2013 15:03:47 +0000 (17:03 +0200)
commit1c9ebecb77027b7012e87330552c2214e54e0bad
tree2eb2a5f487a592026d6389b12110811e388b0b77
parent8663ad9492513f8b7715373b8bdd42670950af23
surface: fix surface pool creation with an explicit pixel format.

Fix creation of surface pool objects to honour explicit pixel format
specification. If this operation is not supported, then fallback to
the older interface with chroma format.
gst-libs/gst/vaapi/gstvaapisurfacepool.c