[Bug 740101] amcaudiodec error: 'first buffer should have OMX_BUFFERFLAG_CODECCONFIG set'

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jan 23 10:42:15 UTC 2017


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

--- Comment #16 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
The problem here is that you pass in a stack allocated buffer. The buffer
passed to the format must be valid as long as the format is. Try creating it in
malloc'd memory and just leak it to see if that makes it work.

However, for ADTS there is not really a out of band header. It should just
parse that from the stream itself. Did you try setting the CODECCONFIG flag on
the very first buffer for ADTS? Does that also work?

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