gstreamer/tests/check/elements
Havard Graff 1a4393fb4d rtpjitterbuffer: fix timer-reuse bug
When doing rtx, the jitterbuffer will always add an rtx-timer for the next
sequence number.

In the case of the packet corresponding to that sequence number arriving,
that same timer will be reused, and simply moved on to wait for the
following sequence number etc.

Once an rtx-timer expires (after all retries), it will be rescheduled as
a lost-timer instead for the same sequence number.

Now, if this particular sequence-number now arrives (after the timer has
become a lost-timer), the reuse mechanism *should* now set a new
rtx-timer for the next sequence number, but the bug is that it does
not change the timer-type, and hence schedules a lost-timer for that
following sequence number, with the result that you will have a very
early lost-event for a packet that might still arrive, and you will
never be able to send any rtx for this packet.

Found by Erlend Graff - erlend@pexip.com

https://bugzilla.gnome.org/show_bug.cgi?id=773891
2016-11-04 16:56:56 +02:00
..
.gitignore gitignore: ignore qtdemux, rtph261 and rtpvp9 tests 2016-08-26 21:32:07 +02:00
aacparse.c tests: aacparse: use caps query instead of accept-caps 2015-08-14 13:42:27 -03: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 tests: amrparse: clean up test 2016-06-02 14:18:53 +01: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: fix bus leaks 2016-07-18 10:53:19 +01:00
audioiirfilter.c tests: fix bus leaks 2016-07-18 10:53:19 +01:00
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 good: use new gst_element_class_add_static_pad_template() 2016-03-24 14:32:20 +02: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 fix buffer leaks in tests 2016-06-21 10:51:08 +03:00
deinterlace.c deinterlace: Added unit tests for field=auto 2016-03-24 14:34:11 +02:00
deinterleave.c deinterleave: fix leaks 2016-06-21 10:51:08 +03: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 check: Fix indentation 2016-03-24 16:22:31 +01:00
flvmux.c tests: fix indentation 2016-09-15 09:53:07 +01:00
gdkpixbufoverlay.c tests: gdkpixbufoverlay: add minimal unit test 2015-09-29 11:15:35 +01:00
gdkpixbufsink.c Fix FSF address 2012-11-04 00:07:18 +00:00
icydemux.c fix buffer leaks in tests 2016-06-21 10:51:08 +03: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: fix message leaks in test 2016-06-21 10:51:08 +03:00
jpegdec.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
jpegenc.c fix buffer leaks in tests 2016-06-21 10:51:08 +03:00
level.c tests: Fix level test in CK_FORK=no mode 2016-10-20 13:23:30 +03:00
matroskademux.c tests: add minmal matroskademux test for subtitle output 2015-07-21 14:25:12 +01: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 fix buffer leaks in tests 2016-06-21 10:51:08 +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
qtdemux.c tests: qtdemux: fix element and pad leak 2016-07-18 10:54:59 +01:00
qtdemux.h qtdemux: Handle upstream GAP in push-mode/time segment 2016-07-01 14:21:04 +02:00
qtmux.c qtmux: Use complete AAC caps with codec_data in the tests 2016-07-04 17:45:40 +02:00
rganalysis.c rganalysis: Fix compiler warnings in the unit test 2016-01-08 15:32:47 +02:00
rglimiter.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
rgvolume.c rgvolume: make tag list writable before modifying it 2016-02-28 14:44:39 +00:00
rtp-payloading.c tests: remove a wrong 'const' specifier 2016-08-26 21:14:47 +02:00
rtpaux.c tests: rtpaux: use a dynamic pt in the test 2015-08-06 01:39:43 -03:00
rtpbin.c tests: rtpbin: fix caps leak 2016-06-02 14:19:02 +01: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
rtph261.c rtph261depay: Fix check of valid payload length 2016-08-26 11:53:22 -04:00
rtph263.c rtph263ppay: Fix caps leak 2016-11-01 20:20:47 +02:00
rtpjitterbuffer.c rtpjitterbuffer: fix timer-reuse bug 2016-11-04 16:56:56 +02:00
rtpmux.c tests: rtpmux: Fix element memory leak 2016-02-15 09:55:30 +00:00
rtprtx.c tests/rtprtx: refactor the tests to use gstharness 2016-08-25 18:21:10 -04:00
rtpsession.c tests: fix indentation 2016-09-15 09:53:07 +01:00
rtpvp9.c tests: fix indentation 2016-09-15 09:53:07 +01:00
shapewipe.c shapewipe: no need to activate pads 2014-05-09 18:10:31 +02:00
souphttpsrc.c tests: Fix souphttpsrc tests without CK_FORK=no 2016-10-20 13:29:07 +03:00
spectrum.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00
splitmux.c tests: splitmux: skip tests if theora or ogg plugins are not available 2016-06-21 17:54:21 +01: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 fix buffer leaks in tests 2016-06-21 10:51:08 +03:00
videobox.c tests: fix bus leaks 2016-07-18 10:53:19 +01: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 tests: videomixer: disable racy flush_start_flush_stop test 2016-10-20 22:08:14 +01: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
vp9enc.c vp9enc: Fix leak of vpx_image_t 2016-08-26 11:57:15 -04: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 tests: wavparse: add test for processing an actual .wav file 2016-11-03 15:42:29 +02:00
y4menc.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:27:24 +02:00