-
-/**
- * gst_control_source_bind:
- * @self: the #GstControlSource object
- * @pspec: #GParamSpec for the property for which this #GstControlSource should generate values.
- *
- * Binds a #GstControlSource to a specific property. This must be called only once for a
- * #GstControlSource.
- *
- * Returns: %TRUE if the #GstControlSource was bound correctly, %FALSE otherwise.
- */
-gboolean
-gst_control_source_bind (GstControlSource * self, GParamSpec * pspec)
-{
- gboolean ret = FALSE;
-
- g_return_val_if_fail (GST_IS_CONTROL_SOURCE (self), FALSE);
- g_return_val_if_fail (GST_CONTROL_SOURCE_GET_CLASS (self)->bind, FALSE);
- g_return_val_if_fail (!self->bound, FALSE);
-
- ret = GST_CONTROL_SOURCE_GET_CLASS (self)->bind (self, pspec);
-
- if (ret)
- self->bound = TRUE;
-
- return ret;
-}