From 5d172e159e73e9215e799c2d14d39e78f0b96102 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 15 Jan 2014 16:07:26 +0100 Subject: [PATCH] scenario: Enhance explanation about seek execution failure --- validate/gst/validate/gst-validate-scenario.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/validate/gst/validate/gst-validate-scenario.c b/validate/gst/validate/gst-validate-scenario.c index c05b9301dc..7c0ae138c1 100644 --- a/validate/gst/validate/gst-validate-scenario.c +++ b/validate/gst/validate/gst-validate-scenario.c @@ -243,7 +243,12 @@ _execute_seek (GstValidateScenario * scenario, GstValidateAction * action) gst_event_replace (&priv->last_seek, seek); } else { GST_VALIDATE_REPORT (scenario, EVENT_SEEK_NOT_HANDLED, - "Could not seek to position %" GST_TIME_FORMAT, GST_TIME_ARGS (start)); + "Could not execute seek: '(position %" GST_TIME_FORMAT + "), %s (num %u, missing repeat: %i), seeking to: %" GST_TIME_FORMAT + " stop: %" GST_TIME_FORMAT " Rate %lf'", + GST_TIME_ARGS (action->playback_time), action->name, + action->action_number, action->repeat, GST_TIME_ARGS (start), + GST_TIME_ARGS (stop), rate); ret = FALSE; } gst_event_unref (seek);