qtitem: don't potentially leak a large number of buffers
authorMatthew Waters <matthew@centricular.com>
Thu, 3 Jun 2021 10:33:45 +0000 (20:33 +1000)
committerMatthew Waters <matthew@centricular.com>
Thu, 3 Jun 2021 10:33:45 +0000 (20:33 +1000)
commitfbf60a61a005f13b9d5e6b3e445e2d40723663c4
tree2324b9fca50f6ef3b0c0819340cd1b6e3807c4d5
parentbe83a52db953850ffccbb3868dd660e2aa129e5f
qtitem: don't potentially leak a large number of buffers

The only other place where these queued buffers are removed, is in
setCaps() but that is not called at all on shutdown so this list of
buffers could not be removed.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1004>
ext/qt/qtitem.cc