audiolatency: Fix event refcounting bug handling latency events
authorJan Schmidt <jan@centricular.com>
Fri, 4 Aug 2023 15:39:29 +0000 (01:39 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 6 Aug 2023 08:52:16 +0000 (09:52 +0100)
commitd710d60c40950328ebaea13b922dfdb81cce20f8
tree53bab4d4f4a65c8fb0918149e4c018677c4e4620
parent58c48bab7e0d9ffed3c032962231d5c2d123a22a
audiolatency: Fix event refcounting bug handling latency events

Fix a refcounting bug introduced in
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5146
If upstream returns FALSE when processing a latency event, it will
be unreffed an extra time

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5152>
subprojects/gst-plugins-bad/gst/audiolatency/gstaudiolatency.c