validate: Execute actions if we get seeked in ready state

This commit is contained in:
Thibault Saunier 2014-07-02 17:53:55 +02:00
parent 87ae465c77
commit bed0f51d6c

View file

@ -674,7 +674,7 @@ get_position (GstValidateScenario * scenario)
} }
/* TODO what about non flushing seeks? */ /* TODO what about non flushing seeks? */
if (priv->last_seek) { if (priv->last_seek && priv->target_state > GST_STATE_READY) {
GST_INFO_OBJECT (scenario, "Still seeking -- not executing action"); GST_INFO_OBJECT (scenario, "Still seeking -- not executing action");
return TRUE; return TRUE;
} }