mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
tools: gst-inspect: add specific messages for CONSTRUCT_ONLY params
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5407>
This commit is contained in:
parent
7b5967d699
commit
324d5c6460
1 changed files with 4 additions and 1 deletions
|
@ -490,7 +490,10 @@ print_object_properties_info (GObject * obj, GObjectClass * obj_class,
|
|||
RESET_COLOR);
|
||||
first_flag = FALSE;
|
||||
}
|
||||
if (param->flags & GST_PARAM_MUTABLE_PLAYING) {
|
||||
if (param->flags & G_PARAM_CONSTRUCT_ONLY) {
|
||||
g_print (", %s%s%s", PROP_ATTR_VALUE_COLOR,
|
||||
_("can be set only at object construction time"), RESET_COLOR);
|
||||
} else if (param->flags & GST_PARAM_MUTABLE_PLAYING) {
|
||||
g_print (", %s%s%s", PROP_ATTR_VALUE_COLOR,
|
||||
_("changeable in NULL, READY, PAUSED or PLAYING state"), RESET_COLOR);
|
||||
} else if (param->flags & GST_PARAM_MUTABLE_PAUSED) {
|
||||
|
|
Loading…
Reference in a new issue