diff -r b405295259f3 -r 7cd98c74da22 gmyth-stream/gmemcoder/src/gmencoder.c --- a/gmyth-stream/gmemcoder/src/gmencoder.c Tue Jul 03 13:53:26 2007 +0100 +++ b/gmyth-stream/gmemcoder/src/gmencoder.c Wed Jul 04 09:09:48 2007 +0100 @@ -224,10 +224,24 @@ case G_TYPE_INT: g_value_set_int(&p, atoi(prop_val)); break; + case G_TYPE_ULONG: + g_value_set_ulong (&p, atol(prop_val)); + break; case G_TYPE_STRING: g_value_set_string(&p, prop_val); break; + case G_TYPE_BOOLEAN: + g_value_set_boolean(&p, (gboolean) atoi (prop_val)); + break; + case G_TYPE_DOUBLE: + g_value_set_double(&p, atof (prop_val)); + break; + case G_TYPE_FLOAT: + g_value_set_float(&p, (float) atof (prop_val)); + break; default: + g_warning ("Property %s of type %s. Not supported", + prop_name, g_type_name (s->value_type)); return; }