[Bug 789871] preset: Do not save deprecated properties

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Nov 4 11:22:10 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=789871

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
What will g_warn upon deserialisation? GstPreset? Some elements?

Arguably there could be a backwards-compatibility issue here - if someone only
set the old version of some property and doesn't set the new one then we're
dropping the setting entirely, no?

Unless we assume that elements will always configure their new versions right
when the deprecated ones get set. Which might be a reasonable
assumption/requirement to make.

Either way it's probably fine, since hardly anyone uses presets anyway ;)

-- 
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