summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-09-22 19:43:59 +0000
committerDavid Robillard <d@drobilla.net>2011-09-22 19:43:59 +0000
commita64b14f5af6b925fdb4a1342c47cfe10fde62271 (patch)
treed453dd0bdfa2b47ad78cb1f64553deb3a0660dd5 /src/plugin.c
parent73a619ade1dfc60cb5671e98fa875c548a6d7b18 (diff)
downloadlilv-a64b14f5af6b925fdb4a1342c47cfe10fde62271.tar.gz
lilv-a64b14f5af6b925fdb4a1342c47cfe10fde62271.tar.bz2
lilv-a64b14f5af6b925fdb4a1342c47cfe10fde62271.zip
Set correct base URI when parsing dyn manifest data (fix #771).
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3473 a436a847-0d15-0410-975c-d299462d15a1
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);