mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
The current bufferpool wastes all pre-allocate buffers when the buffer pool is actived. The pool->priv->size is 0 for va buffer pool. And every time, the reset_buffer() will clean all mem and make the buffer size 0, that can cache the gst_buffer in the buffer pool. But when the buffer pool is activing, the default_start() just allocate the buffer and release_buffer() immediately, all the pre allocated buffers and surfaces are destroyed because of gst_buffer_get_size (buffer) != pool->priv->size. We need to use release_buffer() to do the clean job at the pool start time. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1686> |
||
---|---|---|
.. | ||
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 |