Commit 9a9e873c authored by Gildas Bazin's avatar Gildas Bazin

* new --with-mad-tree configure option.
* updated BUGS file.
parent 7645429c
List of known vlc bugs $Id: BUGS,v 1.10 2002/05/04 03:36:19 lool Exp $
List of known vlc bugs $Id: BUGS,v 1.11 2002/05/14 20:39:23 gbazin Exp $
Please try to keep this file up to date. Also, grep for FIXME in the
source files for more and more bugs to fix.
......@@ -24,6 +24,16 @@ Input:
* Stopping and playing again a network stream often makes vlc crash
under Windows.
* segfault after "INPUT_MAX_ALLOCATION reached" error message. This seems
to be happening when an output plugin isn't "eating" the data buffers
allocated by a decoder. This happens for instance when the audio output
plugin fails but the audio decoder goes on as if nothing happened.
Decoders:
* Under Win32, the a52 plugin will segfault when switching to different audio
channels.
Audio output:
......@@ -35,16 +45,20 @@ Video output:
* We don't render subtitles on RGB surfaces.
* The QNX video output plugin is broken because of vout4.
* The MGA video output plugin makes the picture stutter when
MGA_NUM_FRAMES is set to a value higher than 1.
* The SPU decoder doesn't detect when the video output failed to
launch itself, and we segfault.
* On-the-fly resizing doesn't work when using a chroma transformation.
* On-the-fly resizing when using a chroma transformation doesn't work for
all plugins. Currently it is only implemented for x11 and SDL.
* The DirectX video output can't create overlays on some (even recent)
graphic cards.
* The alternate_fullscreen method of the x11 and xvideo plugins will
sometimes not switch to fullscreen.
Chroma transformations:
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -795,29 +795,58 @@ AC_ARG_ENABLE(mad,
[ --enable-mad libmad module (default disabled)])
if test x$enable_mad = xyes
then
PLUGINS="${PLUGINS} mad"
mad_LDFLAGS="${mad_LDFLAGS} -lmad"
AC_ARG_WITH(mad,
[ --with-mad=PATH path to libmad],
[ if test "x$with_mad" != "xno" -a "x$with_mad" != "x"
then
mad_CFLAGS="${mad_CFLAGS} -I$with_mad/include"
mad_LDFLAGS="${mad_LDFLAGS} -L$with_mad/lib"
fi ])
save_CFLAGS=$CFLAGS
save_LDFLAGS=$LDFLAGS
CFLAGS="$CFLAGS $mad_CFLAGS"
LDFLAGS="$LDFLAGS $mad_LDFLAGS"
AC_CHECK_HEADERS(mad.h, ,
[ echo "Cannot find development headers for libmad..."
exit 1
])
AC_CHECK_LIB(mad, mad_bit_init, ,
[ echo "Cannot find libmad library..."
exit 1
])
CFLAGS=$save_CFLAGS
LDFLAGS=$save_LDFLAGS
[ --with-mad=PATH path to libmad],[],[])
if test "x$with_mad" != "xno" -a "x$with_mad" != "x"
then
mad_CFLAGS="${mad_CFLAGS} -I$with_mad/include"
mad_LDFLAGS="${mad_LDFLAGS} -L$with_mad/lib"
fi
AC_ARG_WITH(mad-tree,
[ --with-mad-tree=PATH mad tree for static linking],[],[])
if test "x$with_mad_tree" != "xno" -a "x$with_mad_tree" != "x"
then
real_mad_tree="`cd ${with_mad_tree} 2>/dev/null && pwd`"
if test "x$real_mad_tree" = x
then
dnl The given directory can't be found
AC_MSG_RESULT(no)
AC_MSG_ERROR([${with_mad_tree} directory doesn't exist])
fi
dnl Use a custom libmad
AC_MSG_CHECKING(for mad.h in ${real_mad_tree}/libmad)
if test -f ${real_mad_tree}/libmad/mad.h
then
AC_MSG_RESULT(yes)
mad_CFLAGS="${mad_CFLAGS} -I${real_mad_tree}/libmad"
mad_LDFLAGS="${mad_LDFLAGS} -L${real_mad_tree}/libmad/.libs"
save_LDFLAGS=$LDFLAGS
LDFLAGS=$mad_LDFLAGS
AC_CHECK_LIB(mad, mad_bit_init, [
BUILTINS="${BUILTINS} mad"
mad_LDFLAGS="${mad_LDFLAGS} -lmad"
],[ AC_MSG_ERROR([the specified tree hasn't been compiled ])
],[])
LDFLAGS=$save_LDFLAGS
else
AC_MSG_RESULT(no)
AC_MSG_ERROR([the specified tree doesn't have mad.h])
fi
else
save_CFLAGS=$CFLAGS
save_LDFLAGS=$LDFLAGS
CFLAGS="$CFLAGS $mad_CFLAGS"
LDFLAGS="$LDFLAGS $mad_LDFLAGS"
AC_CHECK_HEADERS(mad.h, ,
[ AC_MSG_ERROR([Cannot find development headers for libmad...]) ])
AC_CHECK_LIB(mad, mad_bit_init,
PLUGINS="${PLUGINS} mad"
mad_LDFLAGS="${mad_LDFLAGS} -lmad",
[ AC_MSG_ERROR([Cannot find libmad library...]) ])
CFLAGS=$save_CFLAGS
LDFLAGS=$save_LDFLAGS
fi
fi
dnl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment