From a64b14f5af6b925fdb4a1342c47cfe10fde62271 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 22 Sep 2011 19:43:59 +0000 Subject: 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 --- src/plugin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugin.c') 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); -- cgit v1.2.1