mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +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);
|
||||
|
||||
/* 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_path;
|
||||
GModule *bcm_host_module;
|
||||
|
|
|
@ -72,7 +72,7 @@ main (gint argc, gchar ** argv)
|
|||
}
|
||||
|
||||
/* 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_path;
|
||||
GModule *bcm_host_module;
|
||||
|
|
Loading…
Reference in a new issue