mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +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
ed84f17917
commit
e80c044cb3
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