summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-08-16 21:49:54 +0000
committerDavid Robillard <d@drobilla.net>2009-08-16 21:49:54 +0000
commitff698ce3bbf8dee1c7a45669d7ddc72dee4b55f6 (patch)
treecb6c76bd565059fe1042626080658f421b242678
parentb2bcea3174376315ec88e71d26e36293b72edcde (diff)
downloadlilv-ff698ce3bbf8dee1c7a45669d7ddc72dee4b55f6.tar.gz
lilv-ff698ce3bbf8dee1c7a45669d7ddc72dee4b55f6.tar.bz2
lilv-ff698ce3bbf8dee1c7a45669d7ddc72dee4b55f6.zip
Fix duplicate display of port groups.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2180 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--utils/lv2_inspect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/lv2_inspect.c b/utils/lv2_inspect.c
index f0092a4..e58bcf3 100644
--- a/utils/lv2_inspect.c
+++ b/utils/lv2_inspect.c
@@ -260,6 +260,7 @@ SELECT DISTINCT ?group ?type ?sym WHERE {\n"
" ?port pg:inGroup ?group .\n"
" ?group rdf:type ?type ;\n"
" lv2:symbol ?sym .\n"
+"FILTER(?type != pg:Group)\n"
"}");
for (; !slv2_results_finished(groups); slv2_results_next(groups)) {
SLV2Value group = slv2_results_get_binding_value(groups, 0);