aggregator: Allow passing unparented pads to gst_aggregator_pad_is_inactive()
authorSebastian Dröge <sebastian@centricular.com>
Thu, 19 Oct 2023 16:44:21 +0000 (19:44 +0300)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 25 Oct 2023 13:58:06 +0000 (14:58 +0100)
commit229b727017da9da3bf1c8a224c4968e0e2acbaad
tree1282b6cc3032f4dc9e6a137962bb9628bd09173d
parent16e7f0859795528378ec5368215b4bd807b498c5
aggregator: Allow passing unparented pads to gst_aggregator_pad_is_inactive()

It's very difficult to ensure that a pad is still child of the
aggregator during aggregation, so simply consider unparented pads as
inactive instead of asserting.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5553>
subprojects/gstreamer/libs/gst/base/gstaggregator.c