projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bb6a5c
)
check: fix jitterbuffer check
author
Wim Taymans
<wtaymans@redhat.com>
Mon, 25 Nov 2013 16:38:06 +0000
(17:38 +0100)
committer
Wim Taymans
<wtaymans@redhat.com>
Mon, 25 Nov 2013 16:39:52 +0000
(17:39 +0100)
Don't advance the clock to 240ms too early.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=710013
tests/check/elements/rtpjitterbuffer.c
patch
|
blob
|
history
diff --git
a/tests/check/elements/rtpjitterbuffer.c
b/tests/check/elements/rtpjitterbuffer.c
index
70f59f0
..
edda166
100644
(file)
--- a/
tests/check/elements/rtpjitterbuffer.c
+++ b/
tests/check/elements/rtpjitterbuffer.c
@@
-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);
}