controller: no need to explicitely add controlled properties anymore

This commit is contained in:
Stefan Sauer 2011-11-12 15:37:37 +02:00
parent c76e5804b3
commit 90cc963d11

View 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 ();