bin: When removing a sink, check if the EOS status changed.
authorJan Schmidt <jan@centricular.com>
Thu, 29 Oct 2020 13:45:42 +0000 (00:45 +1100)
committerJan Schmidt <jan@centricular.com>
Thu, 29 Oct 2020 16:56:02 +0000 (03:56 +1100)
commit2a9267f2d47a2a17745532a112c97979fc17cdfb
treeadb34ba13011861ba1dc4c1bb2d2ae7a711e3944
parentfc5cd9591a3fe09458342cfedfff88d57bc330c7
bin: When removing a sink, check if the EOS status changed.

Removing a sink that hasn't posted EOS might change the bin itself
to EOS if it's the last remaining non-EOSed sink.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/683>
gst/gstbin.c
tests/check/gst/gstbin.c