controller: no need to explicitely add controlled properties anymore
This commit is contained in:
parent
c76e5804b3
commit
90cc963d11
@ -124,12 +124,6 @@ main (gint argc, gchar ** argv)
|
|||||||
NULL);
|
NULL);
|
||||||
gst_object_unref (src_pad);
|
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 ();
|
csource1 = gst_interpolation_control_source_new ();
|
||||||
csource2 = gst_interpolation_control_source_new ();
|
csource2 = gst_interpolation_control_source_new ();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user