mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
validate: actions: add info on mandatory fields for set-property
Additionally, drop a comment that becomes redundant after adding this info to the action description
This commit is contained in:
parent
89fff02bb3
commit
7f396ec660
1 changed files with 3 additions and 3 deletions
|
@ -4123,8 +4123,6 @@ init_scenarios (void)
|
||||||
|
|
||||||
REGISTER_ACTION_TYPE ("set-property", _execute_set_property,
|
REGISTER_ACTION_TYPE ("set-property", _execute_set_property,
|
||||||
((GstValidateActionParameter []) {
|
((GstValidateActionParameter []) {
|
||||||
/* Either 'target-element-name' or 'target-element-klass' needs to be
|
|
||||||
* defined */
|
|
||||||
{
|
{
|
||||||
.name = "target-element-name",
|
.name = "target-element-name",
|
||||||
.description = "The name of the GstElement to set a property on",
|
.description = "The name of the GstElement to set a property on",
|
||||||
|
@ -4155,7 +4153,9 @@ init_scenarios (void)
|
||||||
},
|
},
|
||||||
{NULL}
|
{NULL}
|
||||||
}),
|
}),
|
||||||
"Sets a property of any element in the pipeline",
|
"Sets a property of an element or klass of elements in the pipeline.\n"
|
||||||
|
"Besides property-name and value, either 'target-element-name' or\n"
|
||||||
|
"'target-element-klass' needs to be defined",
|
||||||
GST_VALIDATE_ACTION_TYPE_CAN_EXECUTE_ON_ADDITION |
|
GST_VALIDATE_ACTION_TYPE_CAN_EXECUTE_ON_ADDITION |
|
||||||
GST_VALIDATE_ACTION_TYPE_CAN_BE_OPTIONAL);
|
GST_VALIDATE_ACTION_TYPE_CAN_BE_OPTIONAL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue