mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
update g_value stuff to match property types
Original commit message from CVS: update g_value stuff to match property types
This commit is contained in:
parent
92aac53318
commit
22fbd4120a
1 changed files with 2 additions and 2 deletions
|
@ -462,10 +462,10 @@ gst_lame_set_property (GObject *object, guint prop_id, const GValue *value, GPar
|
||||||
lame->compression_ratio = g_value_get_float (value);
|
lame->compression_ratio = g_value_get_float (value);
|
||||||
break;
|
break;
|
||||||
case ARG_QUALITY:
|
case ARG_QUALITY:
|
||||||
lame->quality = g_value_get_int (value);
|
lame->quality = g_value_get_enum (value);
|
||||||
break;
|
break;
|
||||||
case ARG_MODE:
|
case ARG_MODE:
|
||||||
lame->mode = g_value_get_int (value);
|
lame->mode = g_value_get_enum (value);
|
||||||
break;
|
break;
|
||||||
case ARG_FORCE_MS:
|
case ARG_FORCE_MS:
|
||||||
lame->force_ms = g_value_get_boolean (value);
|
lame->force_ms = g_value_get_boolean (value);
|
||||||
|
|
Loading…
Reference in a new issue