From 382ad3baa679756cf27615ce380e3b05dcf12922 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Sun, 18 Oct 2009 23:18:58 +0300 Subject: [PATCH] controller: just cast in internal API where we have checked parameters already --- libs/gst/controller/gstinterpolationcontrolsource.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/gst/controller/gstinterpolationcontrolsource.c b/libs/gst/controller/gstinterpolationcontrolsource.c index 0022199..919058a 100644 --- a/libs/gst/controller/gstinterpolationcontrolsource.c +++ b/libs/gst/controller/gstinterpolationcontrolsource.c @@ -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) { -- 2.7.4