mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:06:17 +00:00
omx: Use has_suffix() instead of has_prefix() for the Broadcom hack
This commit is contained in:
parent
7ab0910cc3
commit
b93d86abbe
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ gst_omx_core_acquire (const gchar * filename)
|
||||||
g_hash_table_insert (core_handles, g_strdup (filename), core);
|
g_hash_table_insert (core_handles, g_strdup (filename), core);
|
||||||
|
|
||||||
/* Hack for the Broadcom OpenMAX IL implementation */
|
/* Hack for the Broadcom OpenMAX IL implementation */
|
||||||
if (g_str_has_prefix (filename, "vc/lib/libopenmaxil.so")) {
|
if (g_str_has_suffix (filename, "vc/lib/libopenmaxil.so")) {
|
||||||
gchar *bcm_host_filename;
|
gchar *bcm_host_filename;
|
||||||
gchar *bcm_host_path;
|
gchar *bcm_host_path;
|
||||||
GModule *bcm_host_module;
|
GModule *bcm_host_module;
|
||||||
|
|
|
@ -72,7 +72,7 @@ main (gint argc, gchar ** argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hack for the Broadcom OpenMAX IL implementation */
|
/* Hack for the Broadcom OpenMAX IL implementation */
|
||||||
if (g_str_has_prefix (filename, "vc/lib/libopenmaxil.so")) {
|
if (g_str_has_suffix (filename, "vc/lib/libopenmaxil.so")) {
|
||||||
gchar *bcm_host_filename;
|
gchar *bcm_host_filename;
|
||||||
gchar *bcm_host_path;
|
gchar *bcm_host_path;
|
||||||
GModule *bcm_host_module;
|
GModule *bcm_host_module;
|
||||||
|
|
Loading…
Reference in a new issue