tests: update for step event changes
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 18 Jul 2012 15:47:27 +0000 (17:47 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 18 Jul 2012 15:50:28 +0000 (17:50 +0200)
tests/examples/playback/playback-test.c
tests/examples/seek/jsseek.c

index 2b3f719..ed8db65 100644 (file)
@@ -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,
index 430876d..4565fd6 100644 (file)
@@ -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,