diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2021-01-12 15:38:03 -0300 |
---|---|---|
committer | Thibault Saunier <tsaunier@igalia.com> | 2021-05-15 18:55:19 -0400 |
commit | a56823d8f4f03bbfc000811b8f98dbe892889339 (patch) | |
tree | 39ef8943ab21c62677effa7fba13e003bbbc9847 | |
parent | f00048781f9c4c2b2650fcc0c37ec786fed6d212 (diff) |
validate:scenario: Allow forcing running action on idle from scenario file
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/235>
-rw-r--r-- | validate/gst/validate/gst-validate-scenario.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/validate/gst/validate/gst-validate-scenario.c b/validate/gst/validate/gst-validate-scenario.c index 6d6e8de..0f12ab4 100644 --- a/validate/gst/validate/gst-validate-scenario.c +++ b/validate/gst/validate/gst-validate-scenario.c @@ -4382,6 +4382,8 @@ gst_validate_scenario_load_structures (GstValidateScenario * scenario, gst_structure_get_boolean (structure, "handles-states", &priv->handles_state); gst_structure_get_boolean (structure, "ignore-eos", &priv->ignore_eos); + gst_structure_get_boolean (structure, "actions-on-idle", + &priv->execute_on_idle); if (!priv->handles_state) priv->target_state = GST_STATE_PLAYING; |