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 92aac53318
commit 22fbd4120a

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); 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);