Skip to content

Commit 2bd134c

Browse files
committed
Use new LILV_OPTION_OBJECT_INDEX option when supported
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 780779e commit 2bd134c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/effects.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4541,6 +4541,9 @@ int effects_init(void* client)
45414541

45424542
/* Load all LV2 data */
45434543
g_lv2_data = lilv_world_new();
4544+
#ifdef LILV_OPTION_OBJECT_INDEX
4545+
lilv_world_set_option(g_lv2_data, LILV_OPTION_OBJECT_INDEX, NULL);
4546+
#endif
45444547
lilv_world_load_all(g_lv2_data);
45454548
g_plugins = lilv_world_get_all_plugins(g_lv2_data);
45464549

0 commit comments

Comments
 (0)