initialized = TRUE;
}
- iface->balance_type = GST_COLOR_BALANCE_SOFTWARE;
-
/* default virtual functions */
iface->list_channels = NULL;
iface->set_value = NULL;
iface->get_value = NULL;
+ iface->get_balance_type = NULL;
}
/**
iface = GST_COLOR_BALANCE_GET_INTERFACE (balance);
- return iface->balance_type;
+ g_return_val_if_fail (iface->get_balance_type != NULL,
+ GST_COLOR_BALANCE_SOFTWARE);
+
+ return iface->get_balance_type (balance);
}
/**