mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
Added corresponding divx/xvid decoders and fixed some first-hand encoder bugs
Original commit message from CVS: Added corresponding divx/xvid decoders and fixed some first-hand encoder bugs
This commit is contained in:
parent
51b95c4653
commit
8f6ae19cbf
1 changed files with 22 additions and 7 deletions
25
configure.ac
25
configure.ac
|
@ -511,14 +511,24 @@ translit(dnm, m, l) AM_CONDITIONAL(USE_DIVX, true)
|
|||
GST_CHECK_FEATURE(DIVX, [divx plugins], divx, [
|
||||
HAVE_DIVX=yes
|
||||
AC_CHECK_HEADER(encore2.h, ,
|
||||
[ AC_MSG_WARN([Divx4linux headers not found]) &&
|
||||
[ AC_MSG_WARN([Divx4linux encore headers not found]) &&
|
||||
HAVE_DIVX=no ] )
|
||||
AC_CHECK_HEADER(decore.h, ,
|
||||
[ AC_MSG_WARN([Divx4linux decoder headers not found]) &&
|
||||
HAVE_DIVX=no ] )
|
||||
LIBS="-lm"
|
||||
AC_CHECK_LIB(divxencore, encore, ,
|
||||
[ AC_MSG_WARN([Divx4linux libs not found]) &&
|
||||
[ AC_MSG_WARN([Divx4linux encore libs not found]) &&
|
||||
HAVE_DIVX=no ] )
|
||||
DIVX_LIBS="-lxvidcore -lm"
|
||||
AC_SUBST(DIVX_LIBS)
|
||||
AC_CHECK_LIB(divxdecore, decore, ,
|
||||
[ AC_MSG_WARN([Divx4linux decore libs not found]) &&
|
||||
HAVE_DIVX=no ] )
|
||||
if test x$HAVE_DIVX = xyes; then
|
||||
DIVXENC_LIBS="-ldivxencore -lm"
|
||||
DIVXDEC_LIBS="-ldivxdecore -lm"
|
||||
AC_SUBST(DIVXENC_LIBS)
|
||||
AC_SUBST(DIVXDEC_LIBS)
|
||||
fi
|
||||
])
|
||||
|
||||
dnl *** dvdread ***
|
||||
|
@ -899,10 +909,15 @@ GST_CHECK_FEATURE(XVID, [xvid plugins], xvid, [
|
|||
HAVE_XVID=no ] )
|
||||
LIBS="-lm"
|
||||
AC_CHECK_LIB(xvidcore, xvid_encore, ,
|
||||
[ AC_MSG_WARN([Xvid libs not found]) &&
|
||||
[ AC_MSG_WARN([Xvid encore libs not found]) &&
|
||||
HAVE_XVID=no ] )
|
||||
AC_CHECK_LIB(xvidcore, xvid_decore, ,
|
||||
[ AC_MSG_WARN([Xvid decore libs not found]) &&
|
||||
HAVE_XVID=no ] )
|
||||
if test x$HAVE_XVID = xyes; then
|
||||
XVID_LIBS="-lxvidcore -lm"
|
||||
AC_SUBST(XVID_LIBS)
|
||||
fi
|
||||
])
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue