From c88b55c3a9ed978f207c643694106f5162b814fb Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 18 Jul 2012 17:47:27 +0200 Subject: [PATCH] tests: update for step event changes --- tests/examples/playback/playback-test.c | 2 +- tests/examples/seek/jsseek.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/examples/playback/playback-test.c b/tests/examples/playback/playback-test.c index 2b3f719..ed8db65 100644 --- a/tests/examples/playback/playback-test.c +++ b/tests/examples/playback/playback-test.c @@ -1469,7 +1469,7 @@ do_shuttle (PlaybackApp * app) if (app->shuttling) duration = 40 * GST_MSECOND; else - duration = -1; + duration = 0; gst_element_send_event (app->pipeline, gst_event_new_step (GST_FORMAT_TIME, duration, app->shuttle_rate, FALSE, diff --git a/tests/examples/seek/jsseek.c b/tests/examples/seek/jsseek.c index 430876d..4565fd6 100644 --- a/tests/examples/seek/jsseek.c +++ b/tests/examples/seek/jsseek.c @@ -2140,7 +2140,7 @@ do_shuttle (GstElement * element) if (shuttling) duration = 40 * GST_MSECOND; else - duration = -1; + duration = 0; gst_element_send_event (element, gst_event_new_step (GST_FORMAT_TIME, duration, shuttle_rate, FALSE, -- 2.7.4