scenario: Enhance explanation about seek execution failure
authorThibault Saunier <thibault.saunier@collabora.com>
Wed, 15 Jan 2014 15:07:26 +0000 (16:07 +0100)
committerThibault Saunier <thibault.saunier@collabora.com>
Thu, 6 Feb 2014 11:02:59 +0000 (12:02 +0100)
validate/gst/validate/gst-validate-scenario.c

index c05b9301dc72c377e3d7629a6a045756c4e9c4bf..7c0ae138c18553cfc91ba8e9a7183c835beb1a9d 100644 (file)
@@ -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);