Add VA and X11 display accessors.

This commit is contained in:
gb 2010-03-15 14:57:57 +00:00
parent a3f2975309
commit f87dfaacba
2 changed files with 6 additions and 0 deletions

View file

@ -51,6 +51,9 @@ G_BEGIN_DECLS
GST_VAAPI_TYPE_DISPLAY, \
GstVaapiDisplayClass))
#define GST_VAAPI_DISPLAY_VADISPLAY(display) \
gst_vaapi_display_get_display(display)
typedef struct _GstVaapiDisplay GstVaapiDisplay;
typedef struct _GstVaapiDisplayPrivate GstVaapiDisplayPrivate;
typedef struct _GstVaapiDisplayClass GstVaapiDisplayClass;

View file

@ -50,6 +50,9 @@ G_BEGIN_DECLS
GST_VAAPI_TYPE_DISPLAY_X11, \
GstVaapiDisplayX11Class))
#define GST_VAAPI_DISPLAY_XDISPLAY(display) \
gst_vaapi_display_x11_get_display(GST_VAAPI_DISPLAY_X11(display))
typedef struct _GstVaapiDisplayX11 GstVaapiDisplayX11;
typedef struct _GstVaapiDisplayX11Private GstVaapiDisplayX11Private;
typedef struct _GstVaapiDisplayX11Class GstVaapiDisplayX11Class;