aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--osc_inspector.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/osc_inspector.c b/osc_inspector.c
index 3982fa0..0871966 100644
--- a/osc_inspector.c
+++ b/osc_inspector.c
@@ -184,7 +184,8 @@ run(LV2_Handle instance, uint32_t nsamples)
{
const LV2_Atom_Object *obj = (const LV2_Atom_Object *)&ev->body;
- if(lv2_osc_is_message_or_bundle_type(&handle->osc_urid, obj->body.otype))
+ if( lv2_atom_forge_is_object_type(&notify->forge, obj->atom.type)
+ && lv2_osc_is_message_or_bundle_type(&handle->osc_urid, obj->body.otype) )
{
has_event = true;
if(notify->ref)