decodebin3: Don't lose a ref on EOS event
authorJan Schmidt <jan@centricular.com>
Fri, 30 Sep 2022 18:37:05 +0000 (04:37 +1000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 3 Oct 2022 16:40:49 +0000 (16:40 +0000)
commite5828c82950bb9edeb4114005e8b2b62d286db7d
treec0a783a76db484f5008cae426f4f21172693a614
parentf08bdf1c4aa5fe8f0de278f061ea8f12285c0100
decodebin3: Don't lose a ref on EOS event

Make sure not to give away the ref on the final EOS
event for which the probe handler is returning GST_PAD_PROBE_REMOVE
when pushing the event manually.

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