From: Yusuke Nakamura Date: Tue, 16 Feb 2010 19:05:21 +0000 (-0800) Subject: Add GPAC version check X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=966fd12a2a9beb3bba294dc4a91a45bbafc4799f;p=x264.git Add GPAC version check --- diff --git a/configure b/configure index 25f54588..d0ff43ad 100755 --- a/configure +++ b/configure @@ -584,7 +584,13 @@ if [ $SYS = MINGW ]; then fi if [ "$mp4_output" = "auto" ] ; then mp4_output="no" - cc_check gpac/isomedia.h "$MP4_LDFLAGS" && mp4_output="yes" + if cc_check gpac/isomedia.h "$MP4_LDFLAGS" ; then + if cc_check gpac/isomedia.h "$MP4_LDFLAGS" "gf_isom_set_pixel_aspect_ratio(0,0,0,0,0);" ; then + mp4_output="yes" + else + echo "Warning: gpac is too old, update to 2007-06-21 UTC or later" + fi + fi fi if [ "$mp4_output" = "yes" ] ; then define MP4_OUTPUT