gstreamer/tests
Mathieu Duponchelle 03dc22951b rtpbin: fix leak of elements requested by signals
When the signal returns a floating reference, as its return type
is transfer full, we need to sink it ourselves before passing
it to gst_bin_add (which is transfer floating).

This allows us to unref it in bin_remove_element later on, and
thus to also release the reference we now own if the signal
returns a non-floating reference as well.

As we now still hold a reference to the element when removing it,
we also need to lock its state and setting it to NULL before
unreffing it

Also update the request_aux_sender test.

https://bugzilla.gnome.org/show_bug.cgi?id=792543
2018-01-18 15:26:43 +01:00
..
check rtpbin: fix leak of elements requested by signals 2018-01-18 15:26:43 +01:00
examples v4l2src: Fix compiler error in example caused by re-declaring index 2017-12-14 18:28:00 +02:00
files tests: rtph264depay: add test for using downstream memory allocator 2017-11-23 09:36:00 +01:00
icles tests: icles: fix build 2017-07-21 19:02:26 +01:00
Makefile.am tests: don't build examples if --disable-examples was passed to configure 2009-05-05 13:23:45 +01:00
meson.build meson: build examples 2017-06-26 11:10:29 +01:00