[packman] [PM] gstreamer010-plugins-bad 0.10.3 (SuSE 10.0/i586)

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Nov 27 18:40:18 CET 2006


Hi Toni!

I tested gstreamer010 successfully on SuSE 10.0, Athlon XP 2600+.
Unfortunately, gstfaad does not work, because it doesn't like faad2, which is 
packmans faad:

$ gst-inspect-0.10 .libs/libgstfaad.so
Could not load plugin file: Opening module failed

$ ldd -r .libs/libgstfaad.so
undefined symbol: faacDecInit   (.libs/libgstfaad.so)
undefined symbol: faacDecInit2  (.libs/libgstfaad.so)
[...]

I made attached patch, definitely not cleaner than the original version, but 
works for me.

Many thanks for your work, Carl Eugen
-------------- next part --------------
--- ext/faad/gstfaad.bak	2006-11-27 18:22:53.000000000 +0100
+++ ext/faad/gstfaad.c	2006-11-27 18:26:26.000000000 +0100
@@ -38,11 +38,11 @@
  * but not all, hence this Truly Evil Hack. This hack will need updating if
  * upstream ever releases something with the new API.
  */
-#define faacDecInit faacDecInit_no_definition
-#define faacDecInit2 faacDecInit2_no_definition
+#define NeAACDecInit faacDecInit_no_definition
+#define NeAACDecInit2 faacDecInit2_no_definition
 #include "gstfaad.h"
-#undef faacDecInit
-#undef faacDecInit2
+#undef NeAACDecInit
+#undef NeAACDecInit2
 
 extern long faacDecInit (faacDecHandle, guint8 *, guint32, guint32 *, guint8 *);
 extern int8_t faacDecInit2 (faacDecHandle, guint8 *, guint32,


More information about the Packman mailing list