static GstControlPoint *
_make_new_cp (GstInterpolationControlSource * self, GstClockTime timestamp,
- GValue * value)
+ const GValue * value)
{
GstControlPoint *cp;
static void
gst_interpolation_control_source_set_internal (GstInterpolationControlSource *
- self, GstClockTime timestamp, GValue * value)
+ self, GstClockTime timestamp, const GValue * value)
{
GSequenceIter *iter;
*/
gboolean
gst_interpolation_control_source_set (GstInterpolationControlSource * self,
- GstClockTime timestamp, GValue * value)
+ GstClockTime timestamp, const GValue * value)
{
g_return_val_if_fail (GST_IS_INTERPOLATION_CONTROL_SOURCE (self), FALSE);
g_return_val_if_fail (GST_CLOCK_TIME_IS_VALID (timestamp), FALSE);
*/
gboolean
gst_interpolation_control_source_set_from_list (GstInterpolationControlSource *
- self, GSList * timedvalues)
+ self, const GSList * timedvalues)
{
- GSList *node;
+ const GSList *node;
GstTimedValue *tv;
gboolean res = FALSE;
GstInterpolationControlSource *gst_interpolation_control_source_new (void);
gboolean gst_interpolation_control_source_set_interpolation_mode (GstInterpolationControlSource *self, GstInterpolateMode mode);
-gboolean gst_interpolation_control_source_set (GstInterpolationControlSource * self, GstClockTime timestamp, GValue * value);
-gboolean gst_interpolation_control_source_set_from_list (GstInterpolationControlSource * self, GSList * timedvalues);
+gboolean gst_interpolation_control_source_set (GstInterpolationControlSource * self, GstClockTime timestamp, const GValue * value);
+gboolean gst_interpolation_control_source_set_from_list (GstInterpolationControlSource * self, const GSList * timedvalues);
gboolean gst_interpolation_control_source_unset (GstInterpolationControlSource * self, GstClockTime timestamp);
void gst_interpolation_control_source_unset_all (GstInterpolationControlSource *self);
GList *gst_interpolation_control_source_get_all (GstInterpolationControlSource * self);