mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
lv2: fix inverted boolean properties
https://bugzilla.gnome.org/show_bug.cgi?id=791330
This commit is contained in:
parent
5d8d1d359c
commit
944f347d00
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ gst_lv2_object_set_property (GstLV2 * lv2, GObject * object,
|
|||
switch (type) {
|
||||
case G_TYPE_BOOLEAN:
|
||||
lv2->ports.control.in[prop_id] =
|
||||
g_value_get_boolean (value) ? 0.0f : 1.0f;
|
||||
g_value_get_boolean (value) ? 1.0f : 0.0f;
|
||||
break;
|
||||
case G_TYPE_INT:
|
||||
lv2->ports.control.in[prop_id] = g_value_get_int (value);
|
||||
|
|
Loading…
Reference in a new issue