[Bug 743248] Add new control binding GstAppControlBinding

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 21 00:49:57 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=743248
  GStreamer | gstreamer (core) | unspecified

Stefan Sauer (gstreamer, gtkdoc dev) <ensonic> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ensonic at sonicpulse.de

--- Comment #5 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2015-01-21 08:49:53 UTC ---
Thanks for your analysis. As a point for discussion I totally agree that the
behaviour of
GstDirectControlBinding is not perfect form some elements, w.r.t mapping the
0...1 to the property range. We should consider solving this with a new
GstScaledControlBinding. This will work the same as the DirectControlBinding
but take two extra GValue for the custom lower and upper bound:

GstControlBinding *
gst_scaled_control_binding_new (GstObject * object, 
   const gchar * property_name, 
   GValue *min_value,
   GValue *max_value,
   GstControlSource * cs);

The constructor wound need to check that the given min/max are of the same type
as the property and are within the actual property bound.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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