ported mad and effectv plugins

Original commit message from CVS:
ported mad and effectv plugins
This commit is contained in:
Christian Schaller 2005-05-06 11:04:30 +00:00
parent 551af17ea6
commit 8d34d4972b
5 changed files with 331 additions and 388 deletions

View file

@ -1,3 +1,8 @@
2005-05-06 Christian Schaller <uraeus@gnome.org>
* ext/mad: ported plugin from threaded branch
* gst/effectv: ported plugins from threaded branch
2005-05-06 Zaheer Abbas Merali <zaheerabbas at merali dot org> 2005-05-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* configure.ac: * configure.ac:

View file

@ -13,14 +13,14 @@ endif
# endif # endif
SUBDIRS = \ SUBDIRS = \
gst sys \ gst sys ext \
$(GCONF_DIR) \ $(GCONF_DIR) \
m4 m4
# disabled # disabled
# $(SUBDIRS_DOCS) # $(SUBDIRS_DOCS)
DIST_SUBDIRS = \ DIST_SUBDIRS = \
gst sys \ gst sys ext \
m4 m4
# disabled # disabled

View file

@ -1,6 +1,7 @@
List of ported plugins (update when you commit a ported plugin): List of ported plugins (update when you commit a ported plugin):
osssink (wim) osssink (wim) - partially done in threaded
effectv (wim) effectv (wim)
mad (wim)
- Remember that some plugins are already ported and now in the gst-plugins-base module. - Remember that some plugins are already ported and now in the gst-plugins-base module.

View file

@ -345,9 +345,25 @@ dnl ])
dnl ]) dnl ])
dnl ]) dnl ])
dnl *** mad ***
dnl FIXME: we could use header checks here as well IMO
translit(dnm, m, l) AM_CONDITIONAL(USE_MAD, true)
GST_CHECK_FEATURE(MAD, [mad mp3 decoder], mad, [
dnl check with pkg-config first
PKG_CHECK_MODULES(MAD, mad >= 0.15 id3tag >= 0.15, HAVE_MAD="yes", HAVE_MAD="no")
if test "x$HAVE_MAD" = "xno"; then
dnl fall back to oldskool detection
AC_CHECK_LIB(mad, mad_decoder_finish, HAVE_MAD="yes" MAD_LIBS="-lmad")
if test "x$HAVE_MAD" = "xyes"; then
HAVE_MAD="no"
save_LIBS=$LIBS
LIBS="-lz"
AC_CHECK_LIB(id3tag, id3_tag_options, HAVE_MAD="yes" MAD_LIBS="-lmad -lid3tag -lz")
LIBS=$save_LIBS
fi
fi
])
AC_SUBST(MAD_LIBS)
AC_SUBST(GST_LIBS) AC_SUBST(GST_LIBS)
@ -408,6 +424,8 @@ gst-plugins.spec
gst/Makefile gst/Makefile
gst/effectv/Makefile gst/effectv/Makefile
sys/Makefile sys/Makefile
ext/Makefile
ext/mad/Makefile
common/Makefile common/Makefile
common/m4/Makefile common/m4/Makefile
m4/Makefile m4/Makefile

View file

@ -1,122 +1,116 @@
if USE_A52DEC # if USE_A52DEC
A52DEC_DIR=a52dec # A52DEC_DIR=a52dec
else # else
A52DEC_DIR= # A52DEC_DIR=
endif # endif
if USE_AALIB # if USE_AALIB
AALIB_DIR=aalib # AALIB_DIR=aalib
else # else
AALIB_DIR= # AALIB_DIR=
endif # endif
if USE_ALSA # if USE_AMRNB
ALSA_DIR=alsa # AMRNB_DIR=amrnb
else # else
ALSA_DIR= # AMRNB=
endif # endif
if USE_AMRNB # if USE_ARTS
AMRNB_DIR=amrnb # ARTS_DIR=arts
else # else
AMRNB= # ARTS_DIR=
endif # endif
if USE_ARTS # if USE_ARTSC
ARTS_DIR=arts # ARTSC_DIR=artsd
else # else
ARTS_DIR= # ARTSC_DIR=
endif # endif
if USE_ARTSC # if USE_AUDIOFILE
ARTSC_DIR=artsd # AUDIOFILE_DIR=audiofile
else # else
ARTSC_DIR= # AUDIOFILE_DIR=
endif # endif
if USE_AUDIOFILE # if USE_AUDIORESAMPLE
AUDIOFILE_DIR=audiofile # AUDIORESAMPLE_DIR=audioresample
else # else
AUDIOFILE_DIR= # AUDIORESAMPLE_DIR=
endif # endif
if USE_AUDIORESAMPLE # if USE_CAIRO
AUDIORESAMPLE_DIR=audioresample # CAIRO_DIR=cairo
else # else
AUDIORESAMPLE_DIR= # CAIRO_DIR=
endif # endif
if USE_CAIRO # if USE_CDAUDIO
CAIRO_DIR=cairo # CDAUDIO_DIR=cdaudio
else # else
CAIRO_DIR= # CDAUDIO_DIR=
endif # endif
if USE_CDAUDIO # if USE_CDPARANOIA
CDAUDIO_DIR=cdaudio # CDPARANOIA_DIR=cdparanoia
else # else
CDAUDIO_DIR= # CDPARANOIA_DIR=
endif # endif
if USE_CDPARANOIA # if USE_DIRAC
CDPARANOIA_DIR=cdparanoia # DIRAC_DIR=dirac
else # else
CDPARANOIA_DIR= # DIRAC_DIR=
endif # endif
if USE_DIRAC # if USE_DIRECTFB
DIRAC_DIR=dirac # DIRECTFB_DIR=directfb
else # else
DIRAC_DIR= # DIRECTFB_DIR=
endif # endif
if USE_DIRECTFB # if USE_DIVX
DIRECTFB_DIR=directfb # DIVX_DIR=divx
else # else
DIRECTFB_DIR= # DIVX_DIR=
endif # endif
if USE_DIVX # if USE_DTS
DIVX_DIR=divx # DTS_DIR=dts
else # else
DIVX_DIR= # DTS_DIR=
endif # endif
if USE_DTS # if USE_DVDREAD
DTS_DIR=dts # DVDREAD_DIR=dvdread
else # else
DTS_DIR= # DVDREAD_DIR=
endif # endif
if USE_DVDREAD # if USE_DVDNAV
DVDREAD_DIR=dvdread # DVDNAV_DIR=dvdnav
else # else
DVDREAD_DIR= # DVDNAV_DIR=
endif # endif
if USE_DVDNAV # if USE_ESD
DVDNAV_DIR=dvdnav # ESD_DIR=esd
else # else
DVDNAV_DIR= # ESD_DIR=
endif # endif
if USE_ESD # if USE_FAAC
ESD_DIR=esd # FAAC_DIR=faac
else # else
ESD_DIR= # FAAC_DIR=
endif # endif
if USE_FAAC # if USE_FAAD
FAAC_DIR=faac # FAAD_DIR=faad
else # else
FAAC_DIR= # FAAD_DIR=
endif # endif
if USE_FAAD
FAAD_DIR=faad
else
FAAD_DIR=
endif
## if USE_FESTIVAL ## if USE_FESTIVAL
## FESTIVAL_DIR=festival ## FESTIVAL_DIR=festival
@ -124,113 +118,113 @@ endif
## FESTIVAL_DIR= ## FESTIVAL_DIR=
## endif ## endif
if USE_FLAC # if USE_FLAC
FLAC_DIR=flac # FLAC_DIR=flac
else # else
FLAC_DIR= # FLAC_DIR=
endif # endif
if USE_GDK_PIXBUF # if USE_GDK_PIXBUF
GDK_PIXBUF_DIR=gdk_pixbuf # GDK_PIXBUF_DIR=gdk_pixbuf
else # else
GDK_PIXBUF_DIR= # GDK_PIXBUF_DIR=
endif # endif
if USE_GNOME_VFS # if USE_GNOME_VFS
GNOMEVFS_DIR=gnomevfs # GNOMEVFS_DIR=gnomevfs
else # else
GNOMEVFS_DIR= # GNOMEVFS_DIR=
endif # endif
if USE_GSM # if USE_GSM
GSM_DIR=gsm # GSM_DIR=gsm
else # else
GSM_DIR= # GSM_DIR=
endif # endif
if USE_HERMES # if USE_HERMES
HERMES_DIR=hermes # HERMES_DIR=hermes
else # else
HERMES_DIR= # HERMES_DIR=
endif # endif
if USE_JACK # if USE_JACK
JACK_DIR=jack # JACK_DIR=jack
else # else
JACK_DIR= # JACK_DIR=
endif # endif
if USE_JPEG # if USE_JPEG
JPEG_DIR=jpeg # JPEG_DIR=jpeg
else # else
JPEG_DIR= # JPEG_DIR=
endif # endif
if USE_LADSPA # if USE_LADSPA
LADSPA_DIR=ladspa # LADSPA_DIR=ladspa
else # else
LADPSA_DIR= # LADPSA_DIR=
endif # endif
if USE_LAME # if USE_LAME
LAME_DIR=lame # LAME_DIR=lame
else # else
LAME_DIR= # LAME_DIR=
endif # endif
if USE_LCS # if USE_LCS
LCS_DIR=lcs # LCS_DIR=lcs
else # else
LCS_DIR= # LCS_DIR=
endif # endif
if USE_LIBCACA # if USE_LIBCACA
LIBCACA_DIR=libcaca # LIBCACA_DIR=libcaca
else # else
LIBCACA_DIR= # LIBCACA_DIR=
endif # endif
if USE_LIBDV # if USE_LIBDV
LIBDV_DIR=dv # LIBDV_DIR=dv
else # else
LIBDV_DIR= # LIBDV_DIR=
endif # endif
if USE_LIBFAME # if USE_LIBFAME
LIBFAME_DIR=libfame # LIBFAME_DIR=libfame
else # else
LIBFAME_DIR= # LIBFAME_DIR=
endif # endif
if USE_LIBMNG # if USE_LIBMNG
LIBMNG_DIR=libmng # LIBMNG_DIR=libmng
else # else
LIBMNG_DIR= # LIBMNG_DIR=
endif # endif
if USE_LIBPNG # if USE_LIBPNG
LIBPNG_DIR=libpng # LIBPNG_DIR=libpng
else # else
LIBPNG_DIR= # LIBPNG_DIR=
endif # endif
if USE_POLYP # if USE_POLYP
POLYP_DIR=polyp # POLYP_DIR=polyp
else # else
POLYP_DIR= # POLYP_DIR=
endif # endif
if USE_LIBVISUAL # if USE_LIBVISUAL
LIBVISUAL_DIR=libvisual # LIBVISUAL_DIR=libvisual
else # else
LIBVISUAL_DIR= # LIBVISUAL_DIR=
endif # endif
if USE_LIBMMS # if USE_LIBMMS
LIBMMS_DIR=libmms # LIBMMS_DIR=libmms
else # else
LIBMMS_DIR= # LIBMMS_DIR=
endif # endif
if USE_MAD if USE_MAD
MAD_DIR=mad MAD_DIR=mad
@ -238,29 +232,29 @@ else
MAD_DIR= MAD_DIR=
endif endif
if USE_MIKMOD # if USE_MIKMOD
MIKMOD_DIR=mikmod # MIKMOD_DIR=mikmod
else # else
MIKMOD_DIR= # MIKMOD_DIR=
endif # endif
if USE_MPEG2DEC # if USE_MPEG2DEC
MPEG2DEC_DIR=mpeg2dec # MPEG2DEC_DIR=mpeg2dec
else # else
MPEG2DEC_DIR= #MPEG2DEC_DIR=
endif #endif
if USE_MPEG2ENC # if USE_MPEG2ENC
MPEG2ENC_DIR=mpeg2enc # MPEG2ENC_DIR=mpeg2enc
else # else
MPEG2ENC_DIR= # MPEG2ENC_DIR=
endif # endif
if USE_MPLEX # if USE_MPLEX
MPLEX_DIR=mplex # MPLEX_DIR=mplex
else # else
MPLEX_DIR= # MPLEX_DIR=
endif # endif
#if USE_MAS #if USE_MAS
#MAS_DIR=mas #MAS_DIR=mas
@ -268,131 +262,119 @@ endif
#MAS_DIR= #MAS_DIR=
#endif #endif
if USE_MUSEPACK # if USE_MUSEPACK
MUSEPACK_DIR=musepack # MUSEPACK_DIR=musepack
else # else
MUSEPACK_DIR= # MUSEPACK_DIR=
endif # endif
if USE_MUSICBRAINZ # if USE_MUSICBRAINZ
MUSICBRAINZ_DIR=musicbrainz # MUSICBRAINZ_DIR=musicbrainz
else # else
MUSICBRAINZ_DIR= # MUSICBRAINZ_DIR=
endif # endif
if USE_NAS # if USE_NAS
NAS_DIR=nas # NAS_DIR=nas
else # else
NAS_DIR= # NAS_DIR=
endif # endif
if USE_OGG # if USE_OGG
OGG_DIR=ogg # OGG_DIR=ogg
else # else
OGG_DIR= # OGG_DIR=
endif # endif
if USE_PANGO # if USE_PANGO
PANGO_DIR=pango # PANGO_DIR=pango
else # else
PANGO_DIR= # PANGO_DIR=
endif # endif
if USE_DV1394 # if USE_DV1394
DV1394_DIR=raw1394 # DV1394_DIR=raw1394
else # else
DV1394_DIR= # DV1394_DIR=
endif # endif
if USE_SDL # if USE_SDL
SDL_DIR=sdl # SDL_DIR=sdl
else # else
SDL_DIR= # SDL_DIR=
endif # endif
if USE_SHOUT # if USE_SHOUT
SHOUT_DIR=shout # SHOUT_DIR=shout
else # else
SHOUT_DIR= # SHOUT_DIR=
endif # endif
if USE_SHOUT2 # if USE_SHOUT2
SHOUT2_DIR=shout2 # SHOUT2_DIR=shout2
else # else
SHOUT2_DIR= # SHOUT2_DIR=
endif # endif
if USE_SIDPLAY # if USE_SIDPLAY
SIDPLAY_DIR=sidplay # SIDPLAY_DIR=sidplay
else # else
SIDDPLAY_DIR= # SIDDPLAY_DIR=
endif # endif
if USE_SMOOTHWAVE # if USE_SMOOTHWAVE
SMOOTHWAVE_DIR=smoothwave # SMOOTHWAVE_DIR=smoothwave
else # else
SMOOTHWAVE_DIR= # SMOOTHWAVE_DIR=
endif # endif
if USE_SNDFILE # if USE_SNDFILE
SNDFILE_DIR=sndfile # SNDFILE_DIR=sndfile
else # else
SNDFILE_DIR= # SNDFILE_DIR=
endif # endif
if USE_SWFDEC # if USE_SWFDEC
SWFDEC_DIR=swfdec # SWFDEC_DIR=swfdec
else # else
SWFDEC_DIR= # SWFDEC_DIR=
endif # endif
if USE_TARKIN # if USE_TARKIN
TARKIN_DIR=tarkin # TARKIN_DIR=tarkin
else # else
TARKIN_DIR= # TARKIN_DIR=
endif # endif
if USE_IVORBIS # if USE_IVORBIS
IVORBIS_DIR=ivorbis # IVORBIS_DIR=ivorbis
else # else
IVORBIS_DIR= # IVORBIS_DIR=
endif # endif
if USE_VORBIS # if USE_XVID
VORBIS_DIR=vorbis # XVID_DIR=xvid
else # else
VORBIS_DIR= # XVID_DIR=
endif # endif
if USE_THEORA # if USE_LIBPNG
THEORA_DIR=theora # SNAPSHOT_DIR=snapshot
else # else
THEORA_DIR= # SNAPSHOT_DIR=
endif # endif
if USE_XVID # if USE_SPEEX
XVID_DIR=xvid # SPEEX_DIR=speex
else # else
XVID_DIR= # SPEEX_DIR=
endif # endif
if USE_LIBPNG # if USE_XINE
SNAPSHOT_DIR=snapshot # XINE_DIR=xine
else # else
SNAPSHOT_DIR= # XINE_DIR=
endif # endif
if USE_SPEEX
SPEEX_DIR=speex
else
SPEEX_DIR=
endif
if USE_XINE
XINE_DIR=xine
else
XINE_DIR=
endif
SUBDIRS=\ SUBDIRS=\
$(A52DEC_DIR) \ $(A52DEC_DIR) \
@ -461,67 +443,4 @@ SUBDIRS=\
$(XVID_DIR) $(XVID_DIR)
DIST_SUBDIRS=\ DIST_SUBDIRS=\
a52dec \ mad
aalib \
alsa \
amrnb \
arts \
artsd \
audiofile \
audioresample \
cairo \
cdaudio \
cdparanoia \
dirac \
directfb \
divx \
dts \
dv \
dvdread \
dvdnav \
esd \
faac \
faad \
flac \
gdk_pixbuf \
gnomevfs \
gsm \
hermes \
ivorbis \
jack \
jpeg \
ladspa \
lame \
lcs \
libcaca \
libfame \
libmng \
libmms \
libpng \
libvisual \
mad \
mikmod \
mpeg2dec \
mpeg2enc \
mplex \
musepack \
musicbrainz \
nas \
ogg \
pango \
polyp \
raw1394 \
sdl \
snapshot \
sndfile \
shout \
shout2 \
sidplay \
smoothwave \
speex \
swfdec \
tarkin \
theora \
vorbis \
xine \
xvid