splitmuxsrc: Mark running=false on shutdown.
authorJan Schmidt <jan@centricular.com>
Thu, 29 Oct 2020 16:36:51 +0000 (03:36 +1100)
committerJan Schmidt <thaytan@noraisin.net>
Sat, 31 Oct 2020 02:50:51 +0000 (02:50 +0000)
commit5ac4fdeb7a1a7e66c1f7e35415f24bd2cf9f3b42
treeb3e0f24b9dd359df8305af1df5790714183ddc04
parentf0c24319de2436c442517038e8b548ad6199a7b1
splitmuxsrc: Mark running=false on shutdown.

Make sure that any late gst_element_call_async() callbacks
know that the elements is shutting down and bail out instead
of operating on the element we're trying to stop.

Fixes a spurious test failure in elements_splitmuxsrc

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/798>
gst/multifile/gstsplitmuxsrc.c