gstreamer/tests/check/elements
Havard Graff ddd032f56b rtpjitterbuffer: fix gap-time calculation and remove "late"
The amount of time that is completely expired and not worth waiting for,
is the duration of the packets in the gap (gap * duration) - the
latency (size) of the jitterbuffer (priv->latency_ns). This is the duration
that we make a "multi-lost" packet for.

The "late" concept made some sense in 0.10 as it reflected that a buffer
coming in had not been waited for at all, but had a timestamp that was
outside the jitterbuffer to wait for. With the rewrite of the waiting
(timeout) mechanism in 1.0, this no longer makes any sense, and the
variable no longer reflects anything meaningful (num > 0 is useless,
the duration is what matters)

Fixed up the tests that had been slightly modified in 1.0 to allow faulty
behavior to sneak in, and port some of them to use GstHarness.

https://bugzilla.gnome.org/show_bug.cgi?id=738363
2015-07-08 23:18:48 +03:00
..
.gitignore tests: add test suite for alpha 2015-04-10 10:20:03 +01:00
aacparse.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
ac3parse.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
alpha.c tests: add test suite for alpha 2015-04-10 10:20:03 +01:00
alphacolor.c tests: Fix some more unit tests 2013-05-10 13:34:16 +02:00
amrparse.c Fix FSF address 2012-11-04 00:07:18 +00:00
apev2mux.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
aspectratiocrop.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
audioamplify.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
audiochebband.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
audiocheblimit.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
audiodynamic.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
audioecho.c tests: Fix some more unit tests 2013-05-10 13:34:16 +02:00
audiofirfilter.c tests: audiofirfilter: negotiate the intended raw audio format 2012-03-28 12:23:56 +02:00
audioiirfilter.c
audioinvert.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
audiopanorama.c audiopanorama: cleanup and expand the tests 2013-06-11 21:48:18 +02:00
audiowsincband.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
audiowsinclimit.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
autodetect.c autodetect: improve the tests 2014-02-19 21:07:28 +01:00
avimux.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
avisubtitle.c tests: Fix some more unit tests 2013-05-10 13:34:16 +02:00
capssetter.c tests: Fix some more unit tests 2013-05-10 13:34:16 +02:00
deinterlace.c tests: Fix some more unit tests 2013-05-10 13:34:16 +02:00
deinterleave.c deinterleave: Fix event handling in test 2013-05-13 14:55:27 +02:00
dtmf.c rtpdtmfsrc: clock-base and seqnum-base -> timestamp-offset and seqnum-offset 2014-10-10 18:12:32 -04:00
equalizer.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
flacparse.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
flvdemux.c Fix FSF address 2012-11-04 00:07:18 +00:00
flvmux.c Fix FSF address 2012-11-04 00:07:18 +00:00
gdkpixbufsink.c Fix FSF address 2012-11-04 00:07:18 +00:00
icydemux.c icydemux: Fix event handling in unit test 2013-05-13 15:19:36 +02:00
id3demux.c Fix FSF address 2012-11-04 00:07:18 +00:00
id3v2mux.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
imagefreeze.c Fix FSF address 2012-11-04 00:07:18 +00:00
interleave.c interleave: set output caps layout to interleaved 2014-07-29 11:49:32 +02:00
jpegdec.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
jpegenc.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
level.c tests: don't use deprecated property in level unit test 2014-11-02 16:58:30 +00:00
matroskamux.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
matroskaparse.c tests: matroskaparse: fail on errors and disable pull mode test 2014-06-28 17:40:45 +01:00
mpegaudioparse.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
mulawdec.c tests: fix mulawdec/mulawenc test for big endian systems 2014-10-25 11:09:57 +01:00
mulawenc.c tests: fix mulawdec/mulawenc test for big endian systems 2014-10-25 11:09:57 +01:00
multifile.c tests: multifile: increment tests to check for multifile messages 2015-04-04 11:45:07 -03:00
parser.c tests: Fix parser tests 2013-05-10 13:10:29 +02:00
parser.h Fix FSF address 2012-11-04 00:07:18 +00:00
qtmux.c qtmux: Correctly test each segments 2015-06-23 22:34:36 -04:00
rganalysis.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
rglimiter.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
rgvolume.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
rtp-payloading.c tests: rtp-payloading: add basic unit test for KLV payloading 2015-07-07 20:11:28 +01:00
rtpaux.c tests: rtpaux: use alawenc/dec in these tests instead of Speex 2014-12-30 14:58:02 +00:00
rtpbin.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
rtpbin_buffer_list.c Fix FSF address 2012-11-04 00:07:18 +00:00
rtpcollision.c tests: rtpcollision: use alawenc/dec in these tests instead of Speex 2014-12-30 17:19:59 +00:00
rtph263.c rtph263depay: Make sure payload is large enough 2015-07-08 11:36:55 +01:00
rtpjitterbuffer.c rtpjitterbuffer: fix gap-time calculation and remove "late" 2015-07-08 23:18:48 +03:00
rtpmux.c rtpmux: Don't set PROXY_CAPS flag on the src pad 2014-10-21 10:52:00 +02:00
rtprtx.c tests: Fix rtprtx test by handling buffer lists 2015-04-09 12:58:04 +10:00
rtpsession.c rtpsession: Override the SSRC from the packets' SSRC if none was given via caps or property 2015-06-07 10:33:27 +02:00
shapewipe.c shapewipe: no need to activate pads 2014-05-09 18:10:31 +02:00
souphttpsrc.c tests: souphttpsrc: update ssl key/cert pair 2015-02-04 21:37:50 -03:00
spectrum.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
splitmux.c splitmux-test: Parse error message 2015-02-15 21:45:24 -05:00
sunaudio.c Fix FSF address 2012-11-04 00:07:18 +00:00
udpsink.c tests: add udpsink test to check client add/remove 2014-06-24 10:48:39 +01:00
udpsrc.c tests: udpsrc: add check to make sure multiple memory chunks are used 2014-09-09 17:42:02 +01:00
videobox.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
videocrop.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
videofilter.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
videomixer.c videomixer: Fix memory leak in unit test 2014-04-16 19:03:47 +02:00
vp8dec.c tests: vp8dec: add test for caps renegotiation 2014-09-02 01:01:43 -03:00
vp8enc.c vp8enc-test: Send inital events 2013-05-10 09:24:47 +02:00
wavpackdec.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
wavpackenc.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
wavpackparse.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
wavparse.c wavparse: split the test 2014-01-06 21:13:37 +01:00
y4menc.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00