mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
f5c7ada98e
The current way of GstVaDecodePicture's finalize will leak some resource such as parameter buffers and slice data. The current way deliberately leaves these resource releasing logic to va decoder related function and trigger a warning if we free the GstVaDecodePicture without releasing these resources. But in practice, sometimes, you do not have the chance to release these resource before picture is freed. For example, H264/Mpeg2 support multi slice NALs/Packets for one frame. It is possible that we already succeed to parse and generate the first several slices data by _decode_slice(), but then we get a wrong slice NAL/packet and fail to parse it. We decide to discard the whole frame in the decoder's base class, it just free the current picture and does not trigger sub class's function again. In this kind of cases, we do not have the chance to cleanup the resource, and the resource will be leaked. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1841> |
||
---|---|---|
.. | ||
androidmedia | ||
applemedia | ||
bluez | ||
d3d11 | ||
d3dvideosink | ||
decklink | ||
directsound | ||
dshowdecwrapper | ||
dshowsrcwrapper | ||
dshowvideosink | ||
dvb | ||
fbdev | ||
ipcpipeline | ||
kms | ||
magicleap | ||
mediafoundation | ||
msdk | ||
nvcodec | ||
opensles | ||
shm | ||
tinyalsa | ||
uvch264 | ||
v4l2codecs | ||
va | ||
wasapi | ||
wasapi2 | ||
winks | ||
winscreencap | ||
meson.build |