diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-07-24 15:07:48 +0200 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-07-25 15:31:42 +0200 |
commit | 0bf1e761f963a11c476d5d87a141b9c27cad5892 (patch) | |
tree | 40d1255ec37be73c2cc87a9f9c0e3203b46e2dc9 /gst-libs/gst | |
parent | 9e00c87367df27dc4ba450fd87d251859d9ec3d2 (diff) |
Fix build without X11.
Diffstat (limited to 'gst-libs/gst')
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapidisplay.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay.c b/gst-libs/gst/vaapi/gstvaapidisplay.c index 226efdc6..7238518f 100644 --- a/gst-libs/gst/vaapi/gstvaapidisplay.c +++ b/gst-libs/gst/vaapi/gstvaapidisplay.c @@ -90,8 +90,10 @@ gst_vaapi_display_type_get_type(void) static const GEnumValue display_types[] = { { GST_VAAPI_DISPLAY_TYPE_ANY, "Auto detection", "any" }, +#if USE_X11 { GST_VAAPI_DISPLAY_TYPE_X11, "VA/X11 display", "x11" }, +#endif #if USE_GLX { GST_VAAPI_DISPLAY_TYPE_GLX, "VA/GLX display", "glx" }, |