aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-07-17 21:21:03 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-17 21:21:03 +0200
commite56f14659f580954626e8c1660771c593ecd74fa (patch)
treec2c0eeb1f93092778165d4812316df3df2d65ff8 /configure
parent4c7c0d37e5c2ad5b046d1f543e47850c8b94403d (diff)
parente1319aa1c1be9b64117c19170344fb78841dd67c (diff)
downloadffmpeg-e56f14659f580954626e8c1660771c593ecd74fa.tar.gz
Merge commit 'e1319aa1c1be9b64117c19170344fb78841dd67c'
* commit 'e1319aa1c1be9b64117c19170344fb78841dd67c': libx264: Add support for the MPEG2 encoder Conflicts: configure libavcodec/Makefile libavcodec/libx264.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 1cd9fd622f..7aeae1825a 100755
--- a/configure
+++ b/configure
@@ -1920,6 +1920,7 @@ CONFIG_EXTRA="
imdct15
intrax8
jpegtables
+ libx262
lgplv3
llauddsp
llviddsp
@@ -2504,6 +2505,7 @@ libvpx_vp9_encoder_deps="libvpx"
libwavpack_encoder_deps="libwavpack"
libwebp_encoder_deps="libwebp"
libwebp_anim_encoder_deps="libwebp"
+libx262_encoder_deps="libx262"
libx264_encoder_deps="libx264"
libx264rgb_encoder_deps="libx264"
libx264rgb_encoder_select="libx264_encoder"
@@ -5228,7 +5230,9 @@ enabled libx264 && { use_pkg_config x264 "stdint.h x264.h" x264_encode
{ require libx264 x264.h x264_encoder_encode -lx264 &&
warn "using libx264 without pkg-config"; } } &&
{ check_cpp_condition x264.h "X264_BUILD >= 118" ||
- die "ERROR: libx264 must be installed and version must be >= 0.118."; }
+ die "ERROR: libx264 must be installed and version must be >= 0.118."; } &&
+ { check_cpp_condition x264.h "X264_MPEG2" &&
+ enable libx262; }
enabled libx265 && require_pkg_config x265 x265.h x265_api_get &&
{ check_cpp_condition x265.h "X265_BUILD >= 57" ||
die "ERROR: libx265 version must be >= 57."; }