Files
Akkariin Meiko 27c4ec74a1 Update
2022-03-12 03:16:09 +08:00

34 lines
814 B
Plaintext

meta,
handles-states=true,
args = {
"videotestsrc pattern=ball name=s ! fakesink",
}
foreach, pattern=<green, blue>,
actions = {
[set-properties, s::pattern="$(pattern)"],
}
priv_check-action-type-calls, type=set-properties, n=2
check-properties, s::pattern="Blue"
foreach, pattern=<
# We can also pass int values (which works for enums)
1, 3, 5, # green
>,
actions = {
[set-properties, s::pattern="$(pattern)"],
}
priv_check-action-type-calls, type=set-properties, n=5
check-properties, s::pattern="Green"
foreach, pattern=<blue, white, black>,
actions = {
[set-properties, s::pattern="$(pattern)"],
}
priv_check-action-type-calls, type=set-properties, n=8
check-properties, s::pattern="100\%\ Black"
stop