wpesrc: fix some caps leaks using the non-GL output
authorMatthew Waters <matthew@centricular.com>
Tue, 29 Sep 2020 13:46:00 +0000 (23:46 +1000)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 30 Sep 2020 12:10:44 +0000 (12:10 +0000)
commitb003387526d895f46477c48d3788f353147445a6
treeaa0416b7317a5bd1ca0be2a32144d1e949913162
parentf7a8ece5ef36b1ba9d3f8cbd283817bf5d24daf0
wpesrc: fix some caps leaks using the non-GL output

Always chain up to the parent _stop() implementation as it unrefs some
caps (among other things).

Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1409
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1618>
ext/wpe/gstwpesrc.cpp