diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-07-24 09:45:25 +0200 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-07-25 15:31:42 +0200 |
commit | 9e00c87367df27dc4ba450fd87d251859d9ec3d2 (patch) | |
tree | 6ab8ae752cc4ffd24d4a76183024b99d1b0e8525 /gst-libs/gst/vaapi | |
parent | 5e356922bf33d7bb6a8a036957d4adc3bb4e5ea1 (diff) |
plugins: add support for Wayland.
Diffstat (limited to 'gst-libs/gst/vaapi')
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapidisplay.c | 4 | ||||
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapidisplay.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay.c b/gst-libs/gst/vaapi/gstvaapidisplay.c index 7972003a..226efdc6 100644 --- a/gst-libs/gst/vaapi/gstvaapidisplay.c +++ b/gst-libs/gst/vaapi/gstvaapidisplay.c @@ -96,6 +96,10 @@ gst_vaapi_display_type_get_type(void) { GST_VAAPI_DISPLAY_TYPE_GLX, "VA/GLX display", "glx" }, #endif +#if USE_WAYLAND + { GST_VAAPI_DISPLAY_TYPE_WAYLAND, + "VA/Wayland display", "wayland" }, +#endif { 0, NULL, NULL }, }; diff --git a/gst-libs/gst/vaapi/gstvaapidisplay.h b/gst-libs/gst/vaapi/gstvaapidisplay.h index 81410ec6..d8fa9a38 100644 --- a/gst-libs/gst/vaapi/gstvaapidisplay.h +++ b/gst-libs/gst/vaapi/gstvaapidisplay.h @@ -65,11 +65,13 @@ typedef struct _GstVaapiDisplayClass GstVaapiDisplayClass; * @GST_VAAPI_DISPLAY_TYPE_ANY: Automatic detection of the display type. * @GST_VAAPI_DISPLAY_TYPE_X11: VA/X11 display. * @GST_VAAPI_DISPLAY_TYPE_GLX: VA/GLX display. + * @GST_VAAPI_DISPLAY_TYPE_WAYLAND: VA/Wayland display. */ enum _GstVaapiDisplayType { GST_VAAPI_DISPLAY_TYPE_ANY = 0, GST_VAAPI_DISPLAY_TYPE_X11, GST_VAAPI_DISPLAY_TYPE_GLX, + GST_VAAPI_DISPLAY_TYPE_WAYLAND, }; #define GST_VAAPI_TYPE_DISPLAY_TYPE \ |