projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d27035
)
Retry loading libbcm_host.so without an absolute path if that failed
author
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Fri, 22 Feb 2013 09:42:08 +0000
(10:42 +0100)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Fri, 22 Feb 2013 09:42:08 +0000
(10:42 +0100)
omx/gstomx.c
patch
|
blob
|
history
diff --git
a/omx/gstomx.c
b/omx/gstomx.c
index
20cd450
..
09786ff
100644
(file)
--- a/
omx/gstomx.c
+++ b/
omx/gstomx.c
@@
-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",