From 150c5bc6b2cebacfce2722b9e1049dc503556908 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 18 Jun 2014 13:02:53 +0200 Subject: [PATCH] validate:scenario: We are not changing state if the set_state failed. --- validate/gst/validate/gst-validate-scenario.c | 1 + 1 file changed, 1 insertion(+) diff --git a/validate/gst/validate/gst-validate-scenario.c b/validate/gst/validate/gst-validate-scenario.c index b7231a00bf..3eecacecb9 100644 --- a/validate/gst/validate/gst-validate-scenario.c +++ b/validate/gst/validate/gst-validate-scenario.c @@ -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);