RFC: add API to GstPreset to compare presets
Submitted by Stefan Kost
Assigned to Stefan Kost
Applications using the preset system will e.g. show a list of presets and the properties of the element. When selecting a preset the properties get updated. When the user now edits the properties further, the user derives the preset.
It would be nice if the UI could check if the current settings are still equal to what was initially set by the preset and if not how they differ.
One way to do this could be a function in the preset iface that returns the distance between the current settings and a given preset. Patch follows.