controller: just cast in internal API where we have checked parameters already

This commit is contained in:
Stefan Kost 2009-10-18 23:18:58 +03:00
parent a4e4916632
commit 382ad3baa6

View file

@ -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)
{