mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
Revert "Fix property index when setting preset."
This reverts commit 0a6b22b191
.
This commit is contained in:
parent
dbbd0778a5
commit
f82a4fa622
1 changed files with 1 additions and 1 deletions
|
@ -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[desc->pad] = preset_value->value;
|
||||
gsp->control_in[prop_id] = preset_value->value;
|
||||
}
|
||||
lv2->current_preset = num;
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue