Add canonical form (type name) of VA surface caps.

This commit is contained in:
Gwenole Beauchesne 2011-07-22 15:33:13 +02:00
parent 7711aa1325
commit ab6efa04ca

View file

@ -33,13 +33,21 @@ typedef enum _GstVaapiChromaType GstVaapiChromaType;
typedef enum _GstVaapiSurfaceStatus GstVaapiSurfaceStatus;
typedef enum _GstVaapiSurfaceRenderFlags GstVaapiSurfaceRenderFlags;
/**
* GST_VAAPI_SURFACE_CAPS_NAME:
*
* Generic caps type for VA surfaces.
*/
#define GST_VAAPI_SURFACE_CAPS_NAME \
"video/x-vaapi-surface"
/**
* GST_VAAPI_SURFACE_CAPS:
*
* Generic caps for VA surfaces.
*/
#define GST_VAAPI_SURFACE_CAPS \
"video/x-vaapi-surface, " \
GST_VAAPI_SURFACE_CAPS_NAME ", " \
"width = (int) [ 1, MAX ]," \
"height = (int) [ 1, MAX ]," \
"framerate = (fraction) [ 0, MAX ]"