mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 04:45:36 +00:00
ladspa: Fix critical during plugin load on Windows
https://bugzilla.gnome.org/show_bug.cgi?id=794611
This commit is contained in:
parent
3ebdded7bc
commit
9c3258fbfb
1 changed files with 6 additions and 2 deletions
|
@ -350,8 +350,12 @@ ladspa_plugin_path_search (GstPlugin * plugin)
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
path = g_getenv ("APPDATA");
|
path = g_getenv ("APPDATA");
|
||||||
if (path)
|
if (path) {
|
||||||
g_string_append (path, search_path);
|
if (ladspa_path->len)
|
||||||
|
g_string_append_printf (ladspa_path, G_SEARCHPATH_SEPARATOR_S "%s", path);
|
||||||
|
else
|
||||||
|
g_string_append (ladspa_path, path);
|
||||||
|
}
|
||||||
|
|
||||||
path = g_getenv ("COMMONPROGRAMFILES");
|
path = g_getenv ("COMMONPROGRAMFILES");
|
||||||
if (path) {
|
if (path) {
|
||||||
|
|
Loading…
Reference in a new issue