Commit d0fcc89f authored by Martin Storsjö's avatar Martin Storsjö Committed by 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: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 282e4d503739dc4aa4654612e3b6eac2d489df94)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 923e95a9
...@@ -58,9 +58,13 @@ ...@@ -58,9 +58,13 @@
*****************************************************************************/ *****************************************************************************/
static const char *ppsz_dll_list[] = 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 */ "libOMX_Core.so", /* TI OMAP IL core */
"libOmxCore.so", /* Qualcomm IL core */ "libOmxCore.so", /* Qualcomm IL core */
"libomxil-bellagio.so", /* Bellagio IL core */ "libomxil-bellagio.so", /* Bellagio IL core */
#endif
0 0
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment