gstreamer/tests/check
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
..
elements rtpbin: fix leak of elements requested by signals 2018-01-18 15:26:43 +01:00
generic check: Rename states unit test 2015-08-14 11:13:01 +02:00
pipelines tests: add basic unit test for twolame as well 2017-08-26 10:10:19 +01:00
.gitignore tests: ignore sub-directory with orc tests 2010-06-17 16:41:56 +01:00
gst-plugins-good.supp tests: add basic unit test for twolame as well 2017-08-26 10:10:19 +01:00
Makefile.am tests: udpsink: add check that sets QoS on IPv4/6 sockets 2017-12-23 12:45:11 +01:00
meson.build lame: hook up to build system 2017-08-26 09:14:55 +01:00