diff options
author | David Robillard <d@drobilla.net> | 2011-09-22 19:43:59 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-09-22 19:43:59 +0000 |
commit | a64b14f5af6b925fdb4a1342c47cfe10fde62271 (patch) | |
tree | d453dd0bdfa2b47ad78cb1f64553deb3a0660dd5 /src | |
parent | 73a619ade1dfc60cb5671e98fa875c548a6d7b18 (diff) | |
download | lilv-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')
-rw-r--r-- | src/plugin.c | 2 |
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); |