[x264-devel] commit: Add GPAC version check (Yusuke Nakamura )
git version control
git at videolan.org
Tue Feb 23 11:05:34 CET 2010
x264 | branch: master | Yusuke Nakamura <muken.the.vfrmaniac at gmail.com> | Tue Feb 16 11:05:21 2010 -0800| [966fd12a2a9beb3bba294dc4a91a45bbafc4799f] | committer: Jason Garrett-Glaser
Add GPAC version check
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=966fd12a2a9beb3bba294dc4a91a45bbafc4799f
---
configure | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 25f5458..d0ff43a 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
More information about the x264-devel
mailing list