controller: no need to explicitely add controlled properties anymore
authorStefan Sauer <ensonic@users.sf.net>
Sat, 12 Nov 2011 13:37:37 +0000 (15:37 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Mon, 14 Nov 2011 09:03:16 +0000 (10:03 +0100)
tests/icles/audio-trickplay.c

index 8d03a33..bb52d00 100644 (file)
@@ -124,12 +124,6 @@ main (gint argc, gchar ** argv)
       NULL);
   gst_object_unref (src_pad);
 
-  /* add a controller to the source */
-  if (!gst_object_control_properties (GST_OBJECT (src), "freq", "volume", NULL)) {
-    GST_WARNING ("can't control source element");
-    goto Error;
-  }
-
   csource1 = gst_interpolation_control_source_new ();
   csource2 = gst_interpolation_control_source_new ();