diff options
author | David Robillard <d@drobilla.net> | 2011-03-05 19:29:27 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-05 19:29:27 +0000 |
commit | 595998bf6691ba8af0084e2be29b118fdd5b7e0d (patch) | |
tree | 3a5f1816f12ed756258b589aadd3a5037d07dc65 /src/plugin.c | |
parent | 4057547e5731ec7cb04e796b3f77e4511e4bbb06 (diff) | |
download | lilv-595998bf6691ba8af0084e2be29b118fdd5b7e0d.tar.gz lilv-595998bf6691ba8af0084e2be29b118fdd5b7e0d.tar.bz2 lilv-595998bf6691ba8af0084e2be29b118fdd5b7e0d.zip |
Warn when plugin lv2:binary is missing.
Don't crash lv2_inspect when lv2:binary is missing.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3040 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugin.c b/src/plugin.c index 14a4266..460405f 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -330,6 +330,10 @@ slv2_plugin_get_library_uri(SLV2Plugin p) } slv2_match_end(results); } + if (!p->binary_uri) { + SLV2_WARNF("Plugin <%s> has no lv2:binary\n", + slv2_value_as_uri(slv2_plugin_get_uri(p))); + } return p->binary_uri; } |