mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
Retry loading libbcm_host.so without an absolute path if that failed
This commit is contained in:
parent
7d2703570d
commit
cba466b61c
1 changed files with 6 additions and 2 deletions
|
@ -82,8 +82,12 @@ gst_omx_core_acquire (const gchar * filename)
|
|||
g_free (bcm_host_path);
|
||||
|
||||
if (!bcm_host_module) {
|
||||
GST_ERROR ("Failed to load libbcm_host.so");
|
||||
goto error;
|
||||
/* Retry without an absolute path */
|
||||
bcm_host_module = g_module_open ("libbcm_host.so", G_MODULE_BIND_LAZY);
|
||||
if (!bcm_host_module) {
|
||||
GST_ERROR ("Failed to load libbcm_host.so");
|
||||
goto error;
|
||||
}
|
||||
}
|
||||
|
||||
if (!g_module_symbol (bcm_host_module, "bcm_host_init",
|
||||
|
|
Loading…
Reference in a new issue