mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
check: fix jitterbuffer check
Don't advance the clock to 240ms too early. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=710013
This commit is contained in:
parent
6bb6a5cdf4
commit
29d9b1e7de
1 changed files with 2 additions and 0 deletions
|
@ -1250,6 +1250,8 @@ GST_START_TEST (test_rtx_packet_delay)
|
|||
while (g_async_queue_length (data.buf_queue) < 1) {
|
||||
if (gst_test_clock_peek_next_pending_id (GST_TEST_CLOCK (data.clock), &id)) {
|
||||
GstClockTime t = gst_clock_id_get_time (id);
|
||||
if (t >= 240 * GST_MSECOND)
|
||||
break;
|
||||
if (t > gst_clock_get_time (data.clock)) {
|
||||
gst_test_clock_set_time (GST_TEST_CLOCK (data.clock), t);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue