mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 19:06:33 +00:00
object: update controller documentation
This commit is contained in:
parent
771d061658
commit
a722212dc9
1 changed files with 2 additions and 6 deletions
|
@ -66,20 +66,16 @@
|
|||
* </orderedlist>
|
||||
*
|
||||
* What needs to be done in applications?
|
||||
* Again its not a lot to change.
|
||||
* Again it's not a lot to change.
|
||||
* <orderedlist>
|
||||
* <listitem><para>
|
||||
* first put some properties under control, by calling
|
||||
* gst_object_control_properties (object, "prop1", "prop2",...);
|
||||
* </para></listitem>
|
||||
* <listitem><para>
|
||||
* create a #GstControlSource.
|
||||
* csource = gst_interpolation_control_source_new ();
|
||||
* g_object_set (csource, "mode", GST_INTERPOLATION_MODE_LINEAR, NULL);
|
||||
* </para></listitem>
|
||||
* <listitem><para>
|
||||
* Attach the #GstControlSource on the controller to a property.
|
||||
* gst_object_add_control_binding (object, gst_direct_control_binding_new (objetct, "prop1", csource));
|
||||
* gst_object_add_control_binding (object, gst_direct_control_binding_new (object, "prop1", csource));
|
||||
* </para></listitem>
|
||||
* <listitem><para>
|
||||
* Set the control values
|
||||
|
|
Loading…
Reference in a new issue