aggregator: Don't send multiple caps events with the same caps
authorSebastian Dröge <sebastian@centricular.com>
Thu, 5 May 2022 17:39:52 +0000 (20:39 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 5 May 2022 17:41:58 +0000 (17:41 +0000)
commitb247305bfd133e74466733d0777a472c23c4aad9
tree063e2d98a4927d7ce279ef5f2e09e84593b73f13
parentd2c6f21fc1b664c20a8eab926162fe23583f7fc7
aggregator: Don't send multiple caps events with the same caps

Every time aggregator is reconfiguring it will try to negotiate new
caps. If these resulting caps are the same as the previously negotiated
caps then don't send a new caps event with the same caps again.

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