mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-27 11:32:51 +00:00
controller: just cast in internal API where we have checked parameters already
This commit is contained in:
parent
a4e4916632
commit
382ad3baa6
1 changed files with 3 additions and 2 deletions
|
@ -77,7 +77,7 @@ gst_control_point_free (GstControlPoint * cp)
|
|||
static void
|
||||
gst_interpolation_control_source_reset (GstInterpolationControlSource * self)
|
||||
{
|
||||
GstControlSource *csource = GST_CONTROL_SOURCE (self);
|
||||
GstControlSource *csource = (GstControlSource *) self;
|
||||
|
||||
csource->get_value = NULL;
|
||||
csource->get_value_array = NULL;
|
||||
|
@ -242,7 +242,7 @@ gst_interpolation_control_source_bind (GstControlSource * source,
|
|||
{
|
||||
GType type, base;
|
||||
GstInterpolationControlSource *self =
|
||||
GST_INTERPOLATION_CONTROL_SOURCE (source);
|
||||
(GstInterpolationControlSource *) source;
|
||||
gboolean ret = TRUE;
|
||||
|
||||
/* get the fundamental base type */
|
||||
|
@ -657,6 +657,7 @@ gst_interpolation_control_source_get_count (GstInterpolationControlSource *
|
|||
return self->priv->nvalues;
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
gst_interpolation_control_source_init (GstInterpolationControlSource * self)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue