docs: Fix the way we mark properties mutability

When nothing is specified, we should default to NULL, not PLAYING
This commit is contained in:
Thibault Saunier 2020-06-09 15:05:54 -04:00
parent 44d73efc49
commit 34db244d46

View file

@ -434,7 +434,7 @@ _add_properties (GString * json, GString * other_types,
} else if ((spec->flags & GST_PARAM_MUTABLE_READY)) { } else if ((spec->flags & GST_PARAM_MUTABLE_READY)) {
mutable_str = "\"ready\""; mutable_str = "\"ready\"";
} else { } else {
mutable_str = "\"playing\""; mutable_str = "\"null\"";
} }
tmpstr = json_strescape (g_param_spec_get_blurb (spec)); tmpstr = json_strescape (g_param_spec_get_blurb (spec));