gstreamer/tests
Havard Graff 26c94af2ea rtpssrcdemux: fix "data flow before segment event" crash
This crash could happen at any time a RTP and RTCP buffer arrived
simultaneously in ssrcdemux.

The problem was that sticky-event arriving while the rtp and rtcp pads
were being set up could arrive just too late to be included in the initial
forwarding.

The fix checks if the stickies have been sent on the srcpad about to be
pushed on, and if not sends them. It also blocks any stickes from
being forwarded *prior* to this happening, to avoid them arriving on
the srcpad multiple times.

Since the test loops 1000 times, this will make running under valgrind
take forever, so use the RUNNING_ON_VALGRIND variable to detect we
are running under valgrind, and reduce the loop-count to 2 in that case.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/992>
2021-05-25 22:04:41 +00:00
..
check rtpssrcdemux: fix "data flow before segment event" crash 2021-05-25 22:04:41 +00:00
examples Use gst_element_request_pad_simple 2021-05-05 06:17:20 +00:00
files Remove autotools build system 2019-10-14 11:04:18 +01:00
icles Remove autotools build system 2019-10-14 11:04:18 +01:00
meson.build meson: don't build icles when tests are disabled 2019-02-28 08:52:28 +00:00