summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorDave Robillard <dave@drobilla.net>2009-08-17 17:21:41 -0400
committerDave Robillard <dave@drobilla.net>2009-08-17 17:21:41 -0400
commit75bc98c85373f038f6167389375a423fe9ab2ad5 (patch)
tree8cd7f7b18cd693738f63e45e9289816745758b0f /ext
parentded3c3667012a4b9cf2ee6d43048d117d3ce463a (diff)
downloadgst-plugins-bad-75bc98c85373f038f6167389375a423fe9ab2ad5.tar.gz
gst-plugins-bad-75bc98c85373f038f6167389375a423fe9ab2ad5.tar.bz2
gst-plugins-bad-75bc98c85373f038f6167389375a423fe9ab2ad5.zip
Fix property index when setting preset.HEADmaster
Diffstat (limited to 'ext')
-rw-r--r--ext/lv2/gstlv2.c2
1 files changed, 1 insertions, 1 deletions
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;