interfaces: API: Add gst_mixer_get_mixer_type()
This is a convenience function that returns the mixer_type of the interface struct.
This commit is contained in:
parent
29b063b39b
commit
59aa1251d9
@ -323,6 +323,24 @@ gst_mixer_get_option (GstMixer * mixer, GstMixerOptions * opts)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gst_mixer_get_mixer_type:
|
||||||
|
* @mixer: The #GstMixer implementation
|
||||||
|
*
|
||||||
|
* Get the #GstMixerType of this mixer implementation.
|
||||||
|
*
|
||||||
|
* Returns: A the #GstMixerType.
|
||||||
|
*
|
||||||
|
* Since: 0.10.24
|
||||||
|
*/
|
||||||
|
GstMixerType
|
||||||
|
gst_mixer_get_mixer_type (GstMixer * mixer)
|
||||||
|
{
|
||||||
|
GstMixerClass *klass = GST_MIXER_GET_CLASS (mixer);
|
||||||
|
|
||||||
|
return klass->mixer_type;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_mixer_get_mixer_flags:
|
* gst_mixer_get_mixer_flags:
|
||||||
* @mixer: The #GstMixer implementation
|
* @mixer: The #GstMixer implementation
|
||||||
|
@ -204,6 +204,7 @@ void gst_mixer_mixer_changed (GstMixer *mixer);
|
|||||||
void gst_mixer_options_list_changed (GstMixer *mixer,
|
void gst_mixer_options_list_changed (GstMixer *mixer,
|
||||||
GstMixerOptions *opts);
|
GstMixerOptions *opts);
|
||||||
|
|
||||||
|
GstMixerType gst_mixer_get_mixer_type (GstMixer *mixer);
|
||||||
|
|
||||||
GstMixerFlags gst_mixer_get_mixer_flags (GstMixer *mixer);
|
GstMixerFlags gst_mixer_get_mixer_flags (GstMixer *mixer);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user