mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 06:16:36 +00:00
controller: no need to explicitely add controlled properties anymore
This commit is contained in:
parent
c27bbe4be2
commit
655e109237
2 changed files with 0 additions and 12 deletions
|
@ -96,11 +96,6 @@ main (gint argc, gchar ** argv)
|
||||||
|
|
||||||
shapewipe = gst_bin_get_by_name (GST_BIN (pipeline), "shape");
|
shapewipe = gst_bin_get_by_name (GST_BIN (pipeline), "shape");
|
||||||
|
|
||||||
if (!gst_object_control_properties (GST_OBJECT (shapewipe), "position", NULL)) {
|
|
||||||
g_print ("can't control shapewipe element\n");
|
|
||||||
return -3;
|
|
||||||
}
|
|
||||||
|
|
||||||
csource = gst_lfo_control_source_new ();
|
csource = gst_lfo_control_source_new ();
|
||||||
|
|
||||||
gst_object_set_control_source (GST_OBJECT (shapewipe), "position",
|
gst_object_set_control_source (GST_OBJECT (shapewipe), "position",
|
||||||
|
|
|
@ -168,13 +168,6 @@ main (gint argc, gchar ** argv)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* get the controller */
|
|
||||||
if (!gst_object_control_properties (GST_OBJECT (src), "brightness",
|
|
||||||
"contrast", "saturation", NULL)) {
|
|
||||||
GST_WARNING ("can't control source element");
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* programm a pattern of events */
|
/* programm a pattern of events */
|
||||||
#if 0
|
#if 0
|
||||||
prog = gst_structure_from_string ("program"
|
prog = gst_structure_from_string ("program"
|
||||||
|
|
Loading…
Reference in a new issue