mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
omx: Lazy-load symbols of libbcm_host.so
It exports eglIntOpenMAXILDoneMarker(), which is also exported by libopenmaxil.so... but we need the version from libopenmaxil.so as the other one is just a stub.
This commit is contained in:
parent
3544fa5ae3
commit
f505dad87a
1 changed files with 6 additions and 2 deletions
|
@ -76,14 +76,18 @@ gst_omx_core_acquire (const gchar * filename)
|
|||
bcm_host_filename =
|
||||
g_build_filename (bcm_host_path, "libbcm_host.so", NULL);
|
||||
|
||||
bcm_host_module = g_module_open (bcm_host_filename, G_MODULE_BIND_LAZY);
|
||||
bcm_host_module =
|
||||
g_module_open (bcm_host_filename,
|
||||
G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL);
|
||||
|
||||
g_free (bcm_host_filename);
|
||||
g_free (bcm_host_path);
|
||||
|
||||
if (!bcm_host_module) {
|
||||
/* Retry without an absolute path */
|
||||
bcm_host_module = g_module_open ("libbcm_host.so", G_MODULE_BIND_LAZY);
|
||||
bcm_host_module =
|
||||
g_module_open ("libbcm_host.so",
|
||||
G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL);
|
||||
if (!bcm_host_module) {
|
||||
GST_ERROR ("Failed to load libbcm_host.so");
|
||||
goto error;
|
||||
|
|
Loading…
Reference in a new issue