validate:scenario: We are not changing state if the set_state failed.
This commit is contained in:
parent
b3a168ed73
commit
150c5bc6b2
@ -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…
x
Reference in New Issue
Block a user