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.
This commit is contained in:
Stefan Kost 2009-10-22 13:19:07 +03:00
parent 68176befa2
commit e43eb89449
3 changed files with 3 additions and 0 deletions

View file

@ -1522,6 +1522,7 @@ again:
if (!clock) { if (!clock) {
GST_OBJECT_UNLOCK (jitterbuffer); GST_OBJECT_UNLOCK (jitterbuffer);
/* let's just push if there is no clock */ /* let's just push if there is no clock */
GST_DEBUG_OBJECT (jitterbuffer, "No clock, push right away");
goto push_buffer; goto push_buffer;
} }

View file

@ -114,6 +114,7 @@ check_PROGRAMS = \
elements/rtp-payloading \ elements/rtp-payloading \
elements/rtpbin \ elements/rtpbin \
elements/rtpbin_buffer_list \ elements/rtpbin_buffer_list \
elements/rtpjitterbuffer \
elements/spectrum \ elements/spectrum \
elements/udpsink \ elements/udpsink \
elements/videocrop \ elements/videocrop \

View file

@ -36,6 +36,7 @@ rgvolume
rtp-payloading rtp-payloading
rtpbin rtpbin
rtpbin_buffer_list rtpbin_buffer_list
rtpjitterbuffer
souphttpsrc souphttpsrc
spectrum spectrum
sunaudio sunaudio