mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
interfaces: API: Add gst_color_balance_get_balance_type()
This is a convenience function that returns the balance_type of the interface struct.
This commit is contained in:
parent
b6c3567b41
commit
e1875bf25f
2 changed files with 11 additions and 0 deletions
|
@ -184,6 +184,14 @@ gst_color_balance_get_value (GstColorBalance * balance,
|
|||
return channel->min_value;
|
||||
}
|
||||
|
||||
GstColorBalanceType
|
||||
gst_color_balance_get_balance_type (GstColorBalance * balance)
|
||||
{
|
||||
GstColorBalanceClass *klass = GST_COLOR_BALANCE_GET_CLASS (balance);
|
||||
|
||||
return klass->balance_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* gst_color_balance_value_changed:
|
||||
* @balance: A #GstColorBalance instance
|
||||
|
|
|
@ -99,6 +99,9 @@ void gst_color_balance_set_value (GstColorBalance *balance,
|
|||
gint gst_color_balance_get_value (GstColorBalance *balance,
|
||||
GstColorBalanceChannel *channel);
|
||||
|
||||
GstColorBalanceType
|
||||
gst_color_balance_get_balance_type (GstColorBalance *balance);
|
||||
|
||||
/* trigger signal */
|
||||
void gst_color_balance_value_changed (GstColorBalance *balance,
|
||||
GstColorBalanceChannel *channel,
|
||||
|
|
Loading…
Reference in a new issue