controller: just cast in internal API where we have checked parameters already
authorStefan Kost <ensonic@users.sf.net>
Sun, 18 Oct 2009 20:18:58 +0000 (23:18 +0300)
committerStefan Kost <ensonic@users.sf.net>
Sun, 18 Oct 2009 20:18:58 +0000 (23:18 +0300)
libs/gst/controller/gstinterpolationcontrolsource.c

index 0022199..919058a 100644 (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)
 {