playsink: Complete reconfiguration on pad release.
authorJan Schmidt <jan@centricular.com>
Fri, 6 Aug 2021 09:27:02 +0000 (19:27 +1000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 11 Mar 2022 13:09:30 +0000 (13:09 +0000)
commitecfc93a01877dcb4d6850aa5997eafab6fdbfd7e
tree52d227d123ce21339dd88880b285942ad482ae20
parent3694045a54970571f15ad00fc341f49f46fa3b19
playsink: Complete reconfiguration on pad release.

Requesting a new pad can start a reconfiguration cycle, where
playsink will block all input pads and wait for data on them
before doing internal reconfiguration. If a pad is released,
that reconfiguration might never trigger because it's now waiting
for a pad that doesn't exist any more.

In that case, complete the reconfiguration on pad release.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1180>
subprojects/gst-plugins-base/gst/playback/gstplaysink.c