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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Sep 25 01:19:04 UTC 2017


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

--- Comment #7 from Hyunjun Ko <zzoon at igalia.com> ---
(In reply to Harvey from comment #6)
> (In reply to Víctor Manuel Jáquez Leal from comment #5)
> > (In reply to Harvey from comment #4)
> > > 5. The leak is not a true "leak". If I stop the entire pipeline, all of the
> > > "leaked" memory is released.
> > 
> > Thus I'm setting it as an enhancement request.
> 
> The weird thing is that after we stop encoding, we turn off the valve,
> remove the encoding bin from the pipeline, and unref it. But the memory
> remains allocated.

Okay. 
So, "stop the entire pipeline" means call of gst_element_set_state (pipeline,
GST_STATE_NULL), doesn't it? And all of the leaked memory is released after
this call.

If then in "Every time we start and stop a recording (encoding of captured
video), we lose 1-4 frames of memory" What does "start and stop a recording"
mean?

-- 
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