mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-08 07:22:32 +00:00
validate:scenario: Allow forcing running action on idle from scenario file
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/235>
This commit is contained in:
parent
f00048781f
commit
a56823d8f4
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue