This seems to not be possible with the current libfaad-dev package:
        
        configure: *** checking plugin: faad ***
        configure: ***
        checking for faacDecOpen in -lfaad... no
        configure: *** These plugins will not be built: faad

According to
<http://lists.freshrpms.net/pipermail/freshrpms-list/2005-January/012332.html> 
this is because faacDecOpen was renamed in libfaad to NeAACDecOpen (which is 
present) and source compatibility was maintained by use of a macro. (The SONAME 
remains libfaad0 however... *unprintable*) However, the test used by the 
GST_CHECK_LIBHEADER autoconf macro does not take this into account.

I tried forcing it to build anyway, but the resulting plugin is not
usable:

        $ GST_DEBUG_NO_COLOR= GST_DEBUG=5 gst-inspect 2>&1 | grep faad
        0:00:00.214777000 17478 0x8052968 LOG           GST_REGISTRY 
gstregistry.c:762:gst_registry_scan_path_level:<registry0> examining file: 
/usr/lib/gstreamer-0.10/libgstfaad.so
        0:00:00.215047000 17478 0x8052968 DEBUG         GST_REGISTRY 
gstregistry.c:833:gst_registry_scan_path_level:<registry0> file 
/usr/lib/gstreamer-0.10/libgstfaad.so not yet in registry
        0:00:00.215167000 17478 0x8052968 DEBUG   GST_PLUGIN_LOADING 
gstplugin.c:392:gst_plugin_load_file: attempt to load plugin 
"/usr/lib/gstreamer-0.10/libgstfaad.so"
        0:00:00.217582000 17478 0x8052968 WARN    GST_PLUGIN_LOADING 
gstplugin.c:414:gst_plugin_load_file: module_open failed: 
/usr/lib/gstreamer-0.10/libgstfaad.so: undefined symbol: faacDecInit
        0:00:00.219698000 17478 0x8052968 LOG           GST_REGISTRY 
gstregistry.c:762:gst_registry_scan_path_level:<registry0> examining file: 
/usr/lib/gstreamer-0.10/libgstfaad.a

It seems gstfaad.c itself defines the faacDecInit symbol as extern!

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to