Closed
Bug 963502
Opened 11 years ago
Closed 11 years ago
[MediaEncoder] OMXAudioEncoder will be out of input buffers if input segment is too big.
Categories
(Core :: Audio/Video: Recording, defect)
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: jhlin, Assigned: jhlin)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
|
7.43 KB,
patch
|
jhlin
:
review+
|
Details | Diff | Splinter Review |
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.
Updated•11 years ago
|
Blocks: MediaEncoder
| Assignee | ||
Comment 1•11 years ago
|
||
- 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+
| Assignee | ||
Comment 2•11 years ago
|
||
Keywords: checkin-needed
| Assignee | ||
Comment 3•11 years ago
|
||
Update commit message and carry r+ from roc.
Attachment #8365765 -
Attachment is obsolete: true
Attachment #8367065 -
Flags: review+
Comment 4•11 years ago
|
||
Keywords: checkin-needed
Comment 5•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Updated•11 years ago
|
Component: Video/Audio → Video/Audio: Recording
You need to log in
before you can comment on or make changes to this bug.
Description
•