mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
preset: Do not save deprecated properties
It will g_warn upon desarialization and we should not use those anyway. https://bugzilla.gnome.org/show_bug.cgi?id=789871
This commit is contained in:
parent
e04c6694f1
commit
28d142e6da
1 changed files with 6 additions and 0 deletions
|
@ -856,6 +856,12 @@ gst_preset_default_save_preset (GstPreset * preset, const gchar * name)
|
|||
continue;
|
||||
}
|
||||
|
||||
if (property->flags & G_PARAM_DEPRECATED) {
|
||||
GST_INFO_OBJECT (preset, "Not saving property %s as it is deprecated",
|
||||
property->name);
|
||||
continue;
|
||||
}
|
||||
|
||||
g_value_init (&gvalue, property->value_type);
|
||||
if (is_child_proxy) {
|
||||
gst_child_proxy_get_property ((GstChildProxy *) preset, props[i],
|
||||
|
|
Loading…
Reference in a new issue