[vlc] Why does vlc 0.5.x depend on a52dec when dependencies can be resolved from ffmpeg ?
Dave at 0Bits.COM
Dave at 0Bits.COM
Wed Feb 19 21:32:31 CET 2003
Hi,
Says in the subject line, and i spent a few hours trying to decode why
my divx/dvd/vob's wouldn't play with vlc 0.5.x since (lib)ffmpeg had
all the audio and video decoding facilities in it - including a52, so
why is it (vlc) dependent on liba52 and refuses to use it (ffmpeg) as a
valid audio decoder ? Without building in liba52, i always got
[00000149] main audio output debug: input 'a52 ' 48000 Hz Stereo frame=1536 samples/768 bytes
[00000149] main audio output debug: filter(s) 'a52 '->'fl32' 48000 Hz->48000 Hz Stereo->Stereo
[00000150] main private debug: looking for audio filter module
[00000150] main private debug: probing 17 candidates
[00000149] main audio output error: couldn't find a filter for the conversion
[00000149] main audio output error: couldn't set an input pipeline
To prove this i forced configure to believe i have a52 installed and
removed the -la52 from the Makefile line
LDFLAGS_a52tofloat32 = -lm
so that my audio_filter liba52tofloat32_plugin.so didn't have a dependency
on liba52
# ldd liba52tofloat32_plugin.so
`./liba52tofloat32_plugin.so'
libpthread.so.0 => /lib/libpthread.so.0 (0x40012000)
libm.so.6 => /lib/libm.so.6 (0x40027000)
libc.so.6 => /lib/libc.so.6 (0x40049000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
And voila, vlc still works fine.
Developers please remove dependencies on a52dec if ffmpeg is being used.
Thanx
Dave
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc
mailing list