update g_value stuff to match property types
authorAndy Wingo <wingo@pobox.com>
Wed, 27 Mar 2002 04:02:38 +0000 (04:02 +0000)
committerAndy Wingo <wingo@pobox.com>
Wed, 27 Mar 2002 04:02:38 +0000 (04:02 +0000)
Original commit message from CVS:
update g_value stuff to match property types

ext/lame/gstlame.c

index 40cb279..fbedbbe 100644 (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);