Closed Bug 963502 Opened 6 years ago Closed 6 years ago
Encoder] OMXAudio Encoder will be out of input buffers if input segment is too big .
OMX encoder has limited input and output buffers. If client keep pushing input without pulling output, input buffers will all be full and dequeuing input buffer will fail.
- Address input buffer exhausting issue when there are too many samples in source segment. If out of input buffer, consume some output buffer to make OMX encoder proceed encoding/release input buffers so we can feed more input data. - Remove an assertion for output buffer size. (Turns out AAC encoder output buffer is not always 768 bytes long).
Attachment #8365765 - Flags: review?(roc)
Attachment #8365765 - Flags: review?(roc) → review+
Update commit message and carry r+ from roc.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Component: Video/Audio → Video/Audio: Recording
You need to log in before you can comment on or make changes to this bug.