controller: rename control-bindings
authorStefan Sauer <ensonic@users.sf.net>
Mon, 30 Jan 2012 20:39:34 +0000 (21:39 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Mon, 30 Jan 2012 20:40:28 +0000 (21:40 +0100)
gst_control_binding_xxx -> gst_xxx_control_binding for consistency.

tests/examples/shapewipe/shapewipe-example.c
tests/examples/v4l2/camctrl.c

index 43b616b..2a4dbbb 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <gst/gst.h>
 #include <gst/controller/gstlfocontrolsource.h>
-#include <gst/controller/gstcontrolbindingdirect.h>
+#include <gst/controller/gstdirectcontrolbinding.h>
 
 #include <stdlib.h>
 
@@ -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);
index d44c6a9..83edaa9 100644 (file)
@@ -32,7 +32,7 @@
 
 #include <gst/gst.h>
 #include <gst/controller/gstinterpolationcontrolsource.h>
-#include <gst/controller/gstcontrolbindingdirect.h>
+#include <gst/controller/gstdirectcontrolbinding.h>
 
 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);