summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin.c')
-rw-r--r--src/plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugin.c b/src/plugin.c
index 6a245e2..09820fc 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -157,6 +157,8 @@ lilv_plugin_load(LilvPlugin* p)
GetDataFunc get_data_func = (GetDataFunc)lilv_dlfunc(
lib, "lv2_dyn_manifest_get_data");
if (get_data_func) {
+ serd_env_set_base_uri(
+ env, sord_node_to_serd_node(p->dynman_uri->val.uri_val));
FILE* fd = tmpfile();
get_data_func(handle, fd, lilv_node_as_string(p->plugin_uri));
rewind(fd);