From 75bc98c85373f038f6167389375a423fe9ab2ad5 Mon Sep 17 00:00:00 2001 From: Dave Robillard Date: Mon, 17 Aug 2009 17:21:41 -0400 Subject: Fix property index when setting preset. --- ext/lv2/gstlv2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/lv2/gstlv2.c b/ext/lv2/gstlv2.c index 4b99f939..93d94164 100644 --- a/ext/lv2/gstlv2.c +++ b/ext/lv2/gstlv2.c @@ -646,7 +646,7 @@ gst_lv2_set_property (GObject * object, guint prop_id, const GValue * value, GstLV2Port *desc = &g_array_index (lv2_class->control_in_ports, GstLV2Port, preset_value->index); - gsp->control_in[prop_id] = preset_value->value; + gsp->control_in[desc->pad] = preset_value->value; } lv2->current_preset = num; return; -- cgit v1.2.1