/* this shouldn't crash, whether this mode is implemented or not */
csource = gst_interpolation_control_source_new ();
g_object_set (csource, "mode", GST_INTERPOLATION_MODE_CUBIC, NULL);
- gst_object_set_control_binding (GST_OBJECT_CAST (volume),
+ gst_object_add_control_binding (GST_OBJECT_CAST (volume),
gst_control_binding_new (GST_OBJECT_CAST (volume), "volume",
GST_CONTROL_SOURCE (csource)));
csource = gst_interpolation_control_source_new ();
g_object_set (csource, "mode", GST_INTERPOLATION_MODE_CUBIC, NULL);
- gst_object_set_control_binding (GST_OBJECT_CAST (volume),
+ gst_object_add_control_binding (GST_OBJECT_CAST (volume),
gst_control_binding_new (GST_OBJECT_CAST (volume), "volume",
GST_CONTROL_SOURCE (csource)));
csource1 = gst_interpolation_control_source_new ();
csource2 = gst_interpolation_control_source_new ();
- gst_object_set_control_binding (GST_OBJECT_CAST (src),
+ gst_object_add_control_binding (GST_OBJECT_CAST (src),
gst_control_binding_new (GST_OBJECT_CAST (src), "volume",
GST_CONTROL_SOURCE (csource1)));
- gst_object_set_control_binding (GST_OBJECT_CAST (src),
+ gst_object_add_control_binding (GST_OBJECT_CAST (src),
gst_control_binding_new (GST_OBJECT_CAST (src), "freq",
GST_CONTROL_SOURCE (csource2)));