diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-07-27 11:25:19 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-07-29 19:03:10 +0200 |
commit | 4fef648d10bf3bcfd4b8fa5755c1128966a2427c (patch) | |
tree | f45c41def7cb3b1cd984912793d59be2e3ec9ec5 /configure | |
parent | 8495d84f0101464b15517860db33e8605586d87e (diff) | |
download | ffmpeg-4fef648d10bf3bcfd4b8fa5755c1128966a2427c.tar.gz |
Remove the legacy X11 screen grabber
The XCB screen grabber is a drop-in replacement and not under GPL.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -227,7 +227,6 @@ External library support: --enable-libxcb-xfixes X11 mouse rendering [auto] --enable-libxvid MPEG-4 ASP video encoding --enable-openssl crypto - --enable-x11grab X11 grabbing through xlib (legacy, use xcb instead) --enable-zlib compression [autodetect] The following libraries provide various hardware acceleration features: @@ -1242,7 +1241,6 @@ EXTERNAL_LIBRARY_GPL_LIST=" libx265 libxavs libxvid - x11grab " EXTERNAL_LIBRARY_NONFREE_LIST=" @@ -2369,7 +2367,6 @@ sndio_outdev_deps="sndio_h" v4l2_indev_deps_any="linux_videodev2_h sys_videoio_h" vfwcap_indev_deps="capCreateCaptureWindow vfwcap_defines" vfwcap_indev_extralibs="-lavicap32" -x11grab_indev_deps="x11grab" x11grab_xcb_indev_deps="libxcb" # protocols @@ -4752,10 +4749,10 @@ fi check_lib X11/Xlib.h XOpenDisplay -lX11 && enable xlib -if enabled libxcb || enabled x11grab && ! disabled libxcb; then +if enabled libxcb; then check_pkg_config xcb-shape xcb/shape.h xcb_shape_rectangles || { enabled libxcb && die "ERROR: libxcb not found"; - } && disable x11grab && enable libxcb + } && enable libxcb disabled libxcb_shm || check_pkg_config xcb-shm xcb/shm.h xcb_shm_attach || { @@ -4771,12 +4768,6 @@ if enabled libxcb || enabled x11grab && ! disabled libxcb; then add_extralibs "$xcb_event_libs $xcb_shm_libs $xcb_xfixes_libs" fi -if enabled x11grab; then - enabled xlib || die "ERROR: Xlib not found" - require Xext X11/extensions/XShm.h XShmCreateImage -lXext - require Xfixes X11/extensions/Xfixes.h XFixesGetCursorImage -lXfixes -fi - enabled vaapi && check_code cc "va/va.h" "vaCreateSurfaces(0, 0, 0, 0, 0, 0, 0, 0)" || disable vaapi |