diff --git a/tests/examples/shapewipe/shapewipe-example.c b/tests/examples/shapewipe/shapewipe-example.c index 43b616b6ec..2a4dbbbae9 100644 --- a/tests/examples/shapewipe/shapewipe-example.c +++ b/tests/examples/shapewipe/shapewipe-example.c @@ -19,7 +19,7 @@ #include #include -#include +#include #include @@ -100,7 +100,7 @@ main (gint argc, gchar ** argv) csource = gst_lfo_control_source_new (); gst_object_add_control_binding (GST_OBJECT_CAST (shapewipe), - gst_control_binding_direct_new (GST_OBJECT_CAST (shapewipe), "position", + gst_direct_control_binding_new (GST_OBJECT_CAST (shapewipe), "position", GST_CONTROL_SOURCE (csource))); g_value_init (&val, G_TYPE_FLOAT); diff --git a/tests/examples/v4l2/camctrl.c b/tests/examples/v4l2/camctrl.c index d44c6a95ae..83edaa93f6 100644 --- a/tests/examples/v4l2/camctrl.c +++ b/tests/examples/v4l2/camctrl.c @@ -32,7 +32,7 @@ #include #include -#include +#include static void event_loop (GstElement * bin) @@ -98,7 +98,7 @@ set_program (GstObject * elem, GstStructure * prog) if (!cs) { cs = gst_interpolation_control_source_new (); gst_object_add_control_binding (elem, - gst_control_binding_direct_new (elem, name, + gst_direct_control_binding_new (elem, name, GST_CONTROL_SOURCE (cs))); g_object_set (cs, "mode", GST_INTERPOLATION_MODE_NONE, NULL); g_hash_table_insert (css, (gpointer) name, cs);