mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
Add canonical form (type name) of VA surface caps.
This commit is contained in:
parent
7711aa1325
commit
ab6efa04ca
1 changed files with 9 additions and 1 deletions
|
@ -33,13 +33,21 @@ typedef enum _GstVaapiChromaType GstVaapiChromaType;
|
||||||
typedef enum _GstVaapiSurfaceStatus GstVaapiSurfaceStatus;
|
typedef enum _GstVaapiSurfaceStatus GstVaapiSurfaceStatus;
|
||||||
typedef enum _GstVaapiSurfaceRenderFlags GstVaapiSurfaceRenderFlags;
|
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:
|
* GST_VAAPI_SURFACE_CAPS:
|
||||||
*
|
*
|
||||||
* Generic caps for VA surfaces.
|
* Generic caps for VA surfaces.
|
||||||
*/
|
*/
|
||||||
#define GST_VAAPI_SURFACE_CAPS \
|
#define GST_VAAPI_SURFACE_CAPS \
|
||||||
"video/x-vaapi-surface, " \
|
GST_VAAPI_SURFACE_CAPS_NAME ", " \
|
||||||
"width = (int) [ 1, MAX ]," \
|
"width = (int) [ 1, MAX ]," \
|
||||||
"height = (int) [ 1, MAX ]," \
|
"height = (int) [ 1, MAX ]," \
|
||||||
"framerate = (fraction) [ 0, MAX ]"
|
"framerate = (fraction) [ 0, MAX ]"
|
||||||
|
|
Loading…
Reference in a new issue