splitmuxsink: Don't busy loop on a non-ready pad.
authorJan Schmidt <jan@centricular.com>
Thu, 29 Oct 2020 16:38:15 +0000 (03:38 +1100)
committerJan Schmidt <thaytan@noraisin.net>
Sat, 31 Oct 2020 02:50:51 +0000 (02:50 +0000)
commit41ca3b4e4362ffe6309b87eab19ec69cf6701d2a
treedaf59d194f1b6f3267a70511d90f779673a52ab5
parent5ac4fdeb7a1a7e66c1f7e35415f24bd2cf9f3b42
splitmuxsink: Don't busy loop on a non-ready pad.

If a pad gets into the check_completed_gop method and then
the underlying conditions change on the reference context,
things could get stuck in a busy loop when the context should
instead jump back out and wait for more data.

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