Fixed the gfloat error in the va_arg code.

Original commit message from CVS:
Fixed the gfloat error in the va_arg code.
This commit is contained in:
Wim Taymans 2001-04-15 01:02:05 +00:00
parent b38d9a945b
commit 97f4820da2

View file

@ -107,11 +107,11 @@ gst_props_entry_fill (GstPropsEntry *entry, va_list *var_args)
entry->data.int_range_data.max = va_arg (*var_args, gint); entry->data.int_range_data.max = va_arg (*var_args, gint);
break; break;
case GST_PROPS_FLOAT_ID: case GST_PROPS_FLOAT_ID:
entry->data.float_data = va_arg (*var_args, gfloat); entry->data.float_data = va_arg (*var_args, gdouble);
break; break;
case GST_PROPS_FLOAT_RANGE_ID: case GST_PROPS_FLOAT_RANGE_ID:
entry->data.float_range_data.min = va_arg (*var_args, gfloat); entry->data.float_range_data.min = va_arg (*var_args, gdouble);
entry->data.float_range_data.max = va_arg (*var_args, gfloat); entry->data.float_range_data.max = va_arg (*var_args, gdouble);
break; break;
case GST_PROPS_FOURCC_ID: case GST_PROPS_FOURCC_ID:
entry->data.fourcc_data = va_arg (*var_args, gulong); entry->data.fourcc_data = va_arg (*var_args, gulong);