From e43eb894499cdf6dbb5e4b1f15f824ddf50cf920 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Thu, 22 Oct 2009 13:19:07 +0300 Subject: [PATCH] tests: add a jitterbuffer test Tests pushing a few buffers in various order and asserting the order sent by the jitterbuffer. Contains two disabled tests that need more work. --- gst/rtpmanager/gstrtpjitterbuffer.c | 1 + tests/check/Makefile.am | 1 + tests/check/elements/.gitignore | 1 + 3 files changed, 3 insertions(+) diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index 43f32210fa..b3c1246b56 100644 --- a/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/gst/rtpmanager/gstrtpjitterbuffer.c @@ -1522,6 +1522,7 @@ again: if (!clock) { GST_OBJECT_UNLOCK (jitterbuffer); /* let's just push if there is no clock */ + GST_DEBUG_OBJECT (jitterbuffer, "No clock, push right away"); goto push_buffer; } diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am index 33e1e334d5..065d22656e 100644 --- a/tests/check/Makefile.am +++ b/tests/check/Makefile.am @@ -114,6 +114,7 @@ check_PROGRAMS = \ elements/rtp-payloading \ elements/rtpbin \ elements/rtpbin_buffer_list \ + elements/rtpjitterbuffer \ elements/spectrum \ elements/udpsink \ elements/videocrop \ diff --git a/tests/check/elements/.gitignore b/tests/check/elements/.gitignore index a9ff8af85a..2ff94ea3d6 100644 --- a/tests/check/elements/.gitignore +++ b/tests/check/elements/.gitignore @@ -36,6 +36,7 @@ rgvolume rtp-payloading rtpbin rtpbin_buffer_list +rtpjitterbuffer souphttpsrc spectrum sunaudio