[vlc-commits] omxil: Use a fake library name when loading IOMX

Martin Storsjö git at videolan.org
Mon Dec 19 02:20:29 CET 2011


vlc | branch: master | Martin Storsjö <martin at martin.st> | Fri Dec 16 23:47:06 2011 +0200| [282e4d503739dc4aa4654612e3b6eac2d489df94] | committer: Jean-Baptiste Kempf

omxil: Use a fake library name when loading IOMX

The iomx loading stub doesn't use the library name.
If there's errors in loading the function pointers, this
gives slightly more correct error messages.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=282e4d503739dc4aa4654612e3b6eac2d489df94
---

 modules/codec/omxil/omxil.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c
index d46bb31..dde8126 100644
--- a/modules/codec/omxil/omxil.c
+++ b/modules/codec/omxil/omxil.c
@@ -58,9 +58,13 @@
  *****************************************************************************/
 static const char *ppsz_dll_list[] =
 {
+#if defined(USE_IOMX)
+    "libiomx.so", /* Not used when using IOMX, the lib should already be loaded */
+#else
     "libOMX_Core.so", /* TI OMAP IL core */
     "libOmxCore.so", /* Qualcomm IL core */
     "libomxil-bellagio.so",  /* Bellagio IL core */
+#endif
     0
 };
 



More information about the vlc-commits mailing list