tests: update for step event changes
This commit is contained in:
parent
3ecad525b7
commit
c88b55c3a9
@ -1469,7 +1469,7 @@ do_shuttle (PlaybackApp * app)
|
|||||||
if (app->shuttling)
|
if (app->shuttling)
|
||||||
duration = 40 * GST_MSECOND;
|
duration = 40 * GST_MSECOND;
|
||||||
else
|
else
|
||||||
duration = -1;
|
duration = 0;
|
||||||
|
|
||||||
gst_element_send_event (app->pipeline,
|
gst_element_send_event (app->pipeline,
|
||||||
gst_event_new_step (GST_FORMAT_TIME, duration, app->shuttle_rate, FALSE,
|
gst_event_new_step (GST_FORMAT_TIME, duration, app->shuttle_rate, FALSE,
|
||||||
|
@ -2140,7 +2140,7 @@ do_shuttle (GstElement * element)
|
|||||||
if (shuttling)
|
if (shuttling)
|
||||||
duration = 40 * GST_MSECOND;
|
duration = 40 * GST_MSECOND;
|
||||||
else
|
else
|
||||||
duration = -1;
|
duration = 0;
|
||||||
|
|
||||||
gst_element_send_event (element,
|
gst_element_send_event (element,
|
||||||
gst_event_new_step (GST_FORMAT_TIME, duration, shuttle_rate, FALSE,
|
gst_event_new_step (GST_FORMAT_TIME, duration, shuttle_rate, FALSE,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user