[gstreamer-bugs] [Bug 396779] Preset interface for elements
bugzilla-daemon at bugzilla.gnome.org
Tue May 13 03:29:28 PDT 2008
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
GStreamer | gstreamer (core) | Ver: HEAD CVS
------- Comment #85 from Wim Taymans 2008-05-13 10:29 UTC -------
I was thinking of something else for the presets that require algorithms:
gst_preset_get_algorithms (): returns a list of supported algorithms
gst_preset_apply_algorithm (): perform an algorithm on the preset properties.
The naming is probably not very good, what I'm trying to achieve is have at
least 2 predefined algorithms for changing the properties:
More can be defined, we need get_algorithms() and apply_algorithm to the
vmethods to make this work. It's kindof similar to have presets that start with
an identifier (like *defaults and *randomize) but a bit more explicit.
I still prefer just having the special preset name prefix to mark actions, with
a couple of predefined strings for the actions we support by default.
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=396779.
More information about the Gstreamer-bugs