[FFmpeg-devel] [PATCH] configure: update libvpx_vp9_encoder check

James Zern jzern at google.com
Tue Aug 26 05:32:17 CEST 2014


On Mon, Aug 25, 2014 at 8:28 PM, James Almer <jamrial at gmail.com> wrote:
> 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.
>
lgtm.

> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  configure | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index 0e13520..8e5f49b 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++" ||
> --
> 1.8.5.5
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list