aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-08-26 00:24:39 -0300
committerJames Almer <jamrial@gmail.com>2014-08-26 00:53:50 -0300
commitc2c56d54ee900867690e71e5154593c907229061 (patch)
tree1560008e9d4da4690d4cba5e217deaa74ecd8f81
parent96b2ba68c4aef4e92b3e9de87d1fb94f2fb659f0 (diff)
downloadffmpeg-c2c56d54ee900867690e71e5154593c907229061.tar.gz
configure: update libvpx_vp9_encoder check
Required to add support for the aq_mode setting. Any libvpx snapshot prior to 1.3.0 is not recommended for vp9 encoding for that matter. Reviewed-by: James Zern <jzern@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 0e135206ac..8e5f49b574 100755
--- a/configure
+++ b/configure
@@ -4846,7 +4846,7 @@ enabled libvpx && {
enabled libvpx_vp8_encoder && { check_lib2 "vpx/vpx_encoder.h vpx/vp8cx.h" "vpx_codec_enc_init_ver VP8E_SET_MAX_INTRA_BITRATE_PCT" -lvpx ||
die "ERROR: libvpx encoder version must be >=0.9.7"; }
enabled libvpx_vp9_decoder && { check_lib2 "vpx/vpx_decoder.h vpx/vp8dx.h" "vpx_codec_vp9_dx" -lvpx || disable libvpx_vp9_decoder; }
- enabled libvpx_vp9_encoder && { check_lib2 "vpx/vpx_encoder.h vpx/vp8cx.h" "vpx_codec_vp9_cx VP9E_SET_SVC" -lvpx || disable libvpx_vp9_encoder; } }
+ enabled libvpx_vp9_encoder && { check_lib2 "vpx/vpx_encoder.h vpx/vp8cx.h" "vpx_codec_vp9_cx VP9E_SET_AQ_MODE" -lvpx || disable libvpx_vp9_encoder; } }
enabled libwavpack && require libwavpack wavpack/wavpack.h WavpackOpenFileOutput -lwavpack
enabled libwebp && require_pkg_config libwebp webp/encode.h WebPGetEncoderVersion &&
{ check_code cc webp/encode.h "WebPPicture wp; wp.use_argb++" ||