[MPlayer-cvslog] CVS: main AUTHORS, 1.136, 1.137 ChangeLog, 1.152, 1.153 configure, 1.943, 1.944
Ivo van Poorten CVS
syncmail at mplayerhq.hu
Thu Dec 23 03:09:53 CET 2004
CVS change done by Ivo van Poorten CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv9281
Modified Files:
AUTHORS ChangeLog configure
Log Message:
Adds support for LADSPA (Linux Audio Developer's Simple Plugin API) plugins.
Compilation is optional and can be controled by configure. You need to
have the LADSPA SDK installed in order to have it autodetected by configure.
Manual page is updated.
Index: AUTHORS
===================================================================
RCS file: /cvsroot/mplayer/main/AUTHORS,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -r1.136 -r1.137
--- AUTHORS 17 Dec 2004 19:38:00 -0000 1.136
+++ AUTHORS 23 Dec 2004 02:09:49 -0000 1.137
@@ -611,6 +611,7 @@
* vo_jpeg suboptions parser
* vo_pnm video output driver
* vo_md5sum video output driver
+ * af_ladspa LADSPA plugin loader
Ran, Lu <hephooey at fastmail.fm>
* Chinese documentation translation
Index: ChangeLog
===================================================================
RCS file: /cvsroot/mplayer/main/ChangeLog,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -r1.152 -r1.153
--- ChangeLog 21 Dec 2004 17:14:39 -0000 1.152
+++ ChangeLog 23 Dec 2004 02:09:49 -0000 1.153
@@ -144,6 +144,7 @@
for headphones, preserving the spatiality of the sound
* big-endian fixes in rgb2rgb converter
* yuv2rgb Altivec optimization fixes
+ * support for LADSPA plugins
Others:
* -loop and -shuffle now work together
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.943
retrieving revision 1.944
diff -u -r1.943 -r1.944
--- configure 15 Dec 2004 14:37:27 -0000 1.943
+++ configure 23 Dec 2004 02:09:49 -0000 1.944
@@ -211,6 +211,7 @@
--disable-internal-matroska disable internal Matroska support [enabled]
--enable-external-faad build with external FAAD2 (AAC) support [autodetect]
--disable-internal-faad disable internal FAAD2 (AAC) support [autodetect]
+ --disable-ladspa disable LADSPA plugin support [autodetect]
--disable-libdv disable libdv 0.9.5 en/decoding support [autodetect]
--disable-mad disable libmad (MPEG audio) support [autodetect]
--disable-toolame disable Toolame (MPEG layer 2 audio) support in mencoder [autodetect]
@@ -1317,6 +1318,7 @@
_tremor=no
_faad_internal=auto
_faad_external=auto
+_ladspa=auto
_xmms=no
# dvdnav disabled, it does not work
#_dvdnav=no
@@ -1509,6 +1511,8 @@
--disable-internal-faad) _faad_internal=no ;;
--enable-external-faad) _faad_external=yes _faad_internal=no ;;
--disable-external-faad) _faad_external=no ;;
+ --enable-ladspa) _ladspa=yes ;;
+ --disable-ladspa) _ladspa=no ;;
--enable-xmms) _xmms=yes ;;
--disable-xmms) _xmms=no ;;
--enable-dvdread) _dvdread=yes ;;
@@ -5305,6 +5309,31 @@
_ld_faad=
fi
+
+echocheck "LADSPA plugin support"
+if test "$_ladspa" = auto ; then
+ cat > $TMPC <<EOF
+#include <stdio.h>
+#include <ladspa.h>
+int main(void) {
+const LADSPA_Descriptor *ld = NULL;
+return 0;
+}
+EOF
+ _ladspa=no
+ cc_check && _ladspa=yes
+fi
+if test "$_ladspa" = yes; then
+ _def_ladspa="#define HAVE_LADSPA"
+ _afsrc="$_afsrc af_ladspa.c"
+ _afmodules="ladspa $_afmodules"
+else
+ _def_ladspa="#undef HAVE_LADSPA"
+ _noafmodules="ladspa $_noafmodules"
+fi
+echores "$_ladspa"
+
+
if test "$_win32" = auto ; then
if x86 ; then
qnx && _win32=no
@@ -7175,6 +7204,9 @@
$_def_faad_internal
$_def_faad_version
+/* enable LADSPA plugin support */
+$_def_ladspa
+
/* enable network */
$_def_network
@@ -7307,6 +7339,16 @@
#############################################################################
+echo "Creating libaf/config.mak"
+_afobj=`echo $_afsrc | sed -e 's/\.c/\.o/g'`
+cat > libaf/config.mak << EOF
+include ../config.mak
+OPTIONAL_SRCS = $_afsrc
+OPTIONAL_OBJS = $_afobj
+EOF
+
+#############################################################################
+
cat << EOF
Config files successfully generated by ./configure !
@@ -7333,11 +7375,13 @@
Codecs: $_codecmodules
Audio output: $_aomodules
Video output: $_vomodules
+ Audio filters: $_afmodules
Disabled optional drivers:
Input: $_noinputmodules
Codecs: $_nocodecmodules
Audio output: $_noaomodules
Video output: $_novomodules
+ Audio filters: $_noafmodules
'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
More information about the MPlayer-cvslog
mailing list