mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
36fc2a747a
This fixes a memory leak. When dropframe-threshold has been set, libvpx may output less frames than the input ones, which causes some GstVideoCodecFrames to queue up in GstVideoEncoder's internal frame queue with no chance of ever being all released. And because the frames keep references to the input buffers, the input buffer pool keeps allocating new buffers and memory usage grows very fast. For example the following pipeline's memory usage grows at a rate of about 1GB per minute! videotestsrc ! capsfilter caps=video/x-raw,width=1920,height=1080,framerate=30/1,format=I420 ! \ vp8enc target-bitrate=1000000 end-usage=cbr dropframe-threshold=95 ! fakesink https://bugzilla.gnome.org/show_bug.cgi?id=783086 |
||
---|---|---|
.. | ||
aalib | ||
cairo | ||
dv | ||
flac | ||
gdk_pixbuf | ||
jack | ||
jpeg | ||
libcaca | ||
libpng | ||
pulse | ||
raw1394 | ||
shout2 | ||
soup | ||
speex | ||
taglib | ||
vpx | ||
wavpack | ||
Makefile.am | ||
meson.build |