# HG changeset patch # User renatofilho # Date 1200419074 0 # Node ID 83851e17c385c993cc3b44b38c1aef99c21b5016 # Parent f1af7f8cd7d9566199f865fd8500d45760e8db01 [svn r895] fixed bug with uint properties diff -r f1af7f8cd7d9 -r 83851e17c385 gmyth-stream/gmencoder/src/gmencoder.c --- a/gmyth-stream/gmencoder/src/gmencoder.c Mon Jan 07 18:49:22 2008 +0000 +++ b/gmyth-stream/gmencoder/src/gmencoder.c Tue Jan 15 17:44:34 2008 +0000 @@ -228,6 +228,9 @@ case G_TYPE_INT: g_value_set_int(&p, atoi(prop_val)); break; + case G_TYPE_UINT: + g_value_set_uint (&p, (guint) atoi(prop_val)); + break; case G_TYPE_ULONG: g_value_set_ulong (&p, atol(prop_val)); break;