mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
validate:scenario: We are not changing state if the set_state failed.
This commit is contained in:
parent
b3a168ed73
commit
150c5bc6b2
1 changed files with 1 additions and 0 deletions
|
@ -334,6 +334,7 @@ _execute_set_state (GstValidateScenario * scenario, GstValidateAction * action)
|
|||
ret = gst_element_set_state (scenario->pipeline, state);
|
||||
|
||||
if (ret == GST_STATE_CHANGE_FAILURE) {
|
||||
scenario->priv->changing_state = FALSE;
|
||||
GST_VALIDATE_REPORT (scenario, STATE_CHANGE_FAILURE,
|
||||
"Failed to set state to %s", str_state);
|
||||
|
||||
|
|
Loading…
Reference in a new issue