/* select mapping function */
#define SET_CONVERT_FUNCTION(type) \
- if (self->want_absolute) { \
+ if (self->ABI.abi.want_absolute) { \
self->convert_g_value = abs_convert_g_value_to_##type; \
self->convert_value = abs_convert_value_to_##type; \
} \
self->cs = g_value_dup_object (value);
break;
case PROP_ABSOLUTE:
- self->want_absolute = g_value_get_boolean (value);
+ self->ABI.abi.want_absolute = g_value_get_boolean (value);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
g_value_set_object (value, self->cs);
break;
case PROP_ABSOLUTE:
- g_value_set_boolean (value, self->want_absolute);
+ g_value_set_boolean (value, self->ABI.abi.want_absolute);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
GValue cur_value;
gdouble last_value;
gint byte_size;
- gboolean want_absolute;
GstDirectControlBindingConvertValue convert_value;
GstDirectControlBindingConvertGValue convert_g_value;
- gpointer _gst_reserved[GST_PADDING];
-};
+ union {
+ gpointer _gst_reserved[GST_PADDING];
+ struct {
+ gboolean want_absolute;
+ } abi;
+ } ABI;};
/**
* GstDirectControlBindingClass: