[Bug 774657] add proxy control binding
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Nov 27 00:25:30 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=774657
--- Comment #7 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
(In reply to Stefan Sauer (gstreamer, gtkdoc dev) from comment #5)
> I saw this a bit late, but please improve the doc blob. It should tell what
> is this good for.
>
> "
> A #GstControlBinding that forwards requests to another #GstControlBinding.
> "
>
> is not giving people enough to understand in what situations this is useful.
For exactly ^.
You have two objects. You need to forward the control binding from one
property on one object to another property on another object.
> TBH, I also don't understand the commit message
>
> "
> E.g. in a parent-child relationship, one may need to
> gst_object_sync_values() on the child and have a binding (set elsewhere)
> on the parent update the value.
> "
>
> Do you have a concrete example?
glvideomixer/glsinkbin. sync_values() on the child pad/element will call
sync_values on the exposed bin pad/element.
(In reply to Stefan Sauer (gstreamer, gtkdoc dev) from comment #6)
> Oh and thanks for adding a test, but please break this down into multiple
> tests. If the tests fails, one just know that *something* called
> controller_proxy is broken. Having several tests allows you to tell what you
> test in the test name.
How would I break this down?
All the implementation does is forward to the necessary control binding. There
isn't really a logical split of functionality to test.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list