mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +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 |
||
---|---|---|
.. | ||
gstvp8dec.c | ||
gstvp8dec.h | ||
gstvp8enc.c | ||
gstvp8enc.h | ||
GstVP8Enc.prs | ||
gstvp8utils.c | ||
gstvp8utils.h | ||
gstvp9dec.c | ||
gstvp9dec.h | ||
gstvp9enc.c | ||
gstvp9enc.h | ||
gstvpxdec.c | ||
gstvpxdec.h | ||
gstvpxenc.c | ||
gstvpxenc.h | ||
Makefile.am | ||
meson.build | ||
plugin.c |