[Bug 788025] vaapih264enc leaks 1-4 frames of memory

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Dec 6 06:34:18 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=788025

pauldotknopf at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pauldotknopf at gmail.com

--- Comment #17 from pauldotknopf at gmail.com ---
We call this function after 20-or-so recordings to free up the memory. Directly
after recording, we release the context that vaapih264enc stores in the
pipeline.

This is what GST_STATE_NULL does, and why you don't typically see the memory
leak, but it's there. It just isn't exposed in most pipelines. Our pipeline is
continuously running (for rendering and such), and we dynamically add/remove
the encoding piece without stopping/starting the pipeline.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list