summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2015-06-24 16:06:06 +0200
committerThibault Saunier <tsaunier@gnome.org>2015-06-24 16:25:24 +0200
commit5edea350f6fa5656b70a4804f941e47155a3b8c8 (patch)
tree683373757c1f3a4d8fcfe7b7efc1d704d255d8b4
parent8e37c81811cee2a409a9e7105df875c352a8818b (diff)
validate:scenario: Reset seeked_in_paused when wrong position detected
+ Lower some debug output to LOG
-rw-r--r--validate/gst/validate/gst-validate-scenario.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/validate/gst/validate/gst-validate-scenario.c b/validate/gst/validate/gst-validate-scenario.c
index 7a9235e..bc4a06a 100644
--- a/validate/gst/validate/gst-validate-scenario.c
+++ b/validate/gst/validate/gst-validate-scenario.c
@@ -1041,6 +1041,7 @@ _check_position (GstValidateScenario * scenario, GstValidateAction * act,
|| (rate < 0 && (*position > priv->segment_start + priv->seek_pos_tol
|| *position < MIN (0,
(gint64) priv->segment_start - priv->seek_pos_tol)))) {
+ priv->seeked_in_pause = FALSE;
GST_VALIDATE_REPORT (scenario, EVENT_SEEK_RESULT_POSITION_WRONG,
"Reported position after accurate seek in PAUSED state should be exactlty"
" what the user asked for %" GST_TIME_FORMAT " != %" GST_TIME_FORMAT,
@@ -1350,7 +1351,7 @@ execute_next_action (GstValidateScenario * scenario)
/* TODO what about non flushing seeks? */
if (priv->last_seek && priv->target_state > GST_STATE_READY) {
- GST_INFO_OBJECT (scenario, "Still seeking -- not executing action");
+ GST_LOG_OBJECT (scenario, "Still seeking -- not executing action");
return G_SOURCE_CONTINUE;
}
@@ -1375,7 +1376,7 @@ execute_next_action (GstValidateScenario * scenario)
act = NULL;
}
} else if (act->priv->state == GST_VALIDATE_EXECUTE_ACTION_ASYNC) {
- GST_DEBUG_OBJECT (scenario, "Action %" GST_PTR_FORMAT " still running",
+ GST_LOG_OBJECT (scenario, "Action %" GST_PTR_FORMAT " still running",
act->structure);
return G_SOURCE_CONTINUE;