mfvideoenc: Fix huge memory leak
authorSeungha Yang <seungha@centricular.com>
Sun, 24 May 2020 10:12:28 +0000 (19:12 +0900)
committerSeungha Yang <seungha@centricular.com>
Sun, 24 May 2020 10:12:28 +0000 (19:12 +0900)
commitb93fbdd3cd3c8ec324b2e1f0710e815a02296567
treedd5b516157c9e711045752cbe225c4cbb7ddfb26
parent5a2c358a2b1e132d69c3a333e8f0f8426e292964
mfvideoenc: Fix huge memory leak

Subclass must unref passed GstVideoCodecFrame on GstVideoEncoder::handle_frame()

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1294>
sys/mediafoundation/gstmfvideoenc.cpp