[Bug 739333] gst-omx leaks a huge memory when it works with amr h/w decoder

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Nov 1 11:15:42 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=739333
  GStreamer | gst-omx | 1.2.4

Sebastian Dröge (slomo) <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slomo at coaxion.net

--- Comment #4 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-11-01 18:15:37 UTC ---
That could mean that your hardware codec consumes many input buffers and then
only outputs less output buffers with the same data. When calling
gst_audio_decoder_finish_frame() you will have to provide the base class with
the number of raw audio samples that are inside the output buffer, so that the
base class can properly remove the data from the adapter.

For this see the spf calculation that I added for MP3, and where we set the spf
to 1152 or whatever depending on the input caps... and then based on that
finish a specific number of samples.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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