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:
Andy Wingo 2002-03-27 04:02:38 +00:00
parent d81a2b52e7
commit 15c1c29a71

View file

@ -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);
break;
case ARG_QUALITY:
lame->quality = g_value_get_int (value);
lame->quality = g_value_get_enum (value);
break;
case ARG_MODE:
lame->mode = g_value_get_int (value);
lame->mode = g_value_get_enum (value);
break;
case ARG_FORCE_MS:
lame->force_ms = g_value_get_boolean (value);