summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vaapi/gstvaapidisplay_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapidisplay_x11.c')
-rw-r--r--gst-libs/gst/vaapi/gstvaapidisplay_x11.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay_x11.c b/gst-libs/gst/vaapi/gstvaapidisplay_x11.c
index a1c82e68..50300b87 100644
--- a/gst-libs/gst/vaapi/gstvaapidisplay_x11.c
+++ b/gst-libs/gst/vaapi/gstvaapidisplay_x11.c
@@ -38,10 +38,6 @@
# include <X11/extensions/Xrandr.h>
#endif
-#if HAVE_XRENDER
-# include <X11/extensions/Xrender.h>
-#endif
-
#define DEBUG_VAAPI_DISPLAY 1
#include "gstvaapidebug.h"
@@ -114,10 +110,6 @@ check_extensions (GstVaapiDisplayX11 * display)
priv->use_xrandr = XRRQueryExtension (priv->x11_display,
&evt_base, &err_base);
#endif
-#if HAVE_XRENDER
- priv->has_xrender = XRenderQueryExtension (priv->x11_display,
- &evt_base, &err_base);
-#endif
}
static gboolean
@@ -132,7 +124,6 @@ gst_vaapi_display_x11_bind_display (GstVaapiDisplay * base_display,
priv->use_foreign_display = TRUE;
check_extensions (display);
-
if (!set_display_name (display, XDisplayString (priv->x11_display)))
return FALSE;
return TRUE;