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:
ed84f17
)
ladspa: Fix critical during plugin load on Windows
author
Nirbheek Chauhan
<nirbheek@centricular.com>
Fri, 23 Mar 2018 03:45:38 +0000
(09:15 +0530)
committer
Nirbheek Chauhan
<nirbheek@centricular.com>
Tue, 27 Mar 2018 06:32:21 +0000
(12:02 +0530)
https://bugzilla.gnome.org/show_bug.cgi?id=794611
ext/ladspa/gstladspa.c
patch
|
blob
|
history
diff --git
a/ext/ladspa/gstladspa.c
b/ext/ladspa/gstladspa.c
index a8f0fcf02003fcc431101e21a2a29b44ec6639fc..87b7b605dddec15cd61b6a32d926db590579e340 100644
(file)
--- a/
ext/ladspa/gstladspa.c
+++ b/
ext/ladspa/gstladspa.c
@@
-350,8
+350,12
@@
ladspa_plugin_path_search (GstPlugin * plugin)
#ifdef G_OS_WIN32
path = g_getenv ("APPDATA");
- if (path)
- g_string_append (path, search_path);
+ if (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");
if (path) {