gstreamer/tests/check
Sebastian Dröge 934e6bb114 aggregator: Release pads' peeked buffer when removing the pad or finalizing it
The peeked buffer was always reset after calling ::aggregate() but under
no other circumstances. If a pad was removed after peeking and before
::aggregate() returned then the peeked buffer would be leaked.

This can easily happen if pads are removed from the aggregator from a
pad probe downstream of the source pad but still in the source pad's
streaming thread.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/785>
2021-04-06 20:02:43 +01:00
..
elements tests/elements/leaks.c: check get_tracer_by_name return value 2020-07-10 15:13:11 +00:00
generic Remove autotools build system 2019-10-13 16:10:42 +01:00
gst bin: When removing a sink, check if the EOS status changed. 2020-10-30 12:41:36 +00:00
libs aggregator: Release pads' peeked buffer when removing the pad or finalizing it 2021-04-06 20:02:43 +01:00
pipelines Use gst_object_unref() / gst_object_clear() instead of the GObject ones 2020-04-20 16:28:52 +00:00
tools tests: refactor tools check a little 2014-10-31 16:10:01 +00:00
gstreamer.supp tests: Add test for new live-objects leaktracer API 2019-07-02 15:13:26 +05:30
meson.build skip elements/leak.c if tracer is not available 2020-10-02 01:02:25 +01:00