configure: Require XVID API >= 4.3

This is required for encoding the simple profile
with levels 4a, 5 or 6.

Fixes bug #665378.
This commit is contained in:
Sebastian Dröge 2011-12-02 11:46:03 +01:00
parent 7485e28a7d
commit a1044ac635

View file

@ -1594,6 +1594,9 @@ AG_GST_CHECK_FEATURE(XVID, [xvid plugins], xvid, [
#if XVID_API_MAJOR(XVID_API) != 4
#error "Incompatible XviD API version"
#endif
#if XVID_API_MAJOR(XVID_API) == 4 && XVID_API_MINOR(XVID_API) < 3
#error "Incompatible XviD API version"
#endif
],[ AC_MSG_RESULT(yes)
XVID_LIBS="-lxvidcore $LIBM"
AC_SUBST(XVID_LIBS)