diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-23 14:43:08 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-23 14:46:48 +0100 |
commit | 3e641b4842b8b5f6592991479d19f1a7ce846308 (patch) | |
tree | 25bee33d11ceddf0ee1758dd8cf5763764d5fc80 /configure | |
parent | 62e10c375968d9cbbe2a0bc321e00eef52d32917 (diff) | |
parent | 7671dd7cd7d51bbd637cc46d8f104a141bc355ea (diff) | |
download | ffmpeg-3e641b4842b8b5f6592991479d19f1a7ce846308.tar.gz |
Merge commit '7671dd7cd7d51bbd637cc46d8f104a141bc355ea'
* commit '7671dd7cd7d51bbd637cc46d8f104a141bc355ea':
avconv: add support for VDPAU decoding
Conflicts:
Changelog
Makefile
configure
ffmpeg.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1559,11 +1559,13 @@ HAVE_LIST=" threads unistd_h usleep + vdpau_x11 vfp_args VirtualAlloc windows_h winsock2_h xform_asm + xlib xmm_clobbers " @@ -4426,10 +4428,12 @@ if enabled libcdio; then die "ERROR: libcdio-paranoia not found" fi +check_lib X11/Xlib.h XOpenDisplay -lX11 && enable xlib + enabled x11grab && -require X11 X11/Xlib.h XOpenDisplay -lX11 && require Xext X11/extensions/XShm.h XShmCreateImage -lXext && -require Xfixes X11/extensions/Xfixes.h XFixesGetCursorImage -lXfixes +require Xfixes X11/extensions/Xfixes.h XFixesGetCursorImage -lXfixes && +{ enabled xlib || die "ERROR: Xlib not found"; } enabled vaapi && check_lib va/va.h vaInitialize -lva || @@ -4439,6 +4443,10 @@ enabled vdpau && check_cpp_condition vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" || disable vdpau +enabled vdpau && enabled xlib && + check_lib2 "vdpau/vdpau.h vdpau/vdpau_x11.h" vdp_device_create_x11 -lvdpau && + enable vdpau_x11 + # Funny iconv installations are not unusual, so check it after all flags have been set disabled iconv || check_func_headers iconv.h iconv || check_lib2 iconv.h iconv -liconv || disable iconv |