surface: try to determine the underlying VA surface format.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 10 Jul 2013 11:58:55 +0000 (13:58 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 10 Jul 2013 15:03:47 +0000 (17:03 +0200)
commit8663ad9492513f8b7715373b8bdd42670950af23
tree739edfbffad3f03aff2fe62a5db98572acd9a133
parenta1b27c920b6c03d7770ece1ab6ec77a31a95559f
surface: try to determine the underlying VA surface format.

If a VA surface was allocated with the chroma-format interface, try to
determine the underlying pixel format on gst_vaapi_surface_get_format(),
or return GST_VIDEO_FORMAT_ENCODED if this is not a supported operation.
gst-libs/gst/vaapi/gstvaapisurface.c