Closed
Bug 972246
Opened 12 years ago
Closed 11 years ago
[MediaEncoder] OmxVideoTrackEncoder cannot be stopped.
Categories
(Core :: Audio/Video: Recording, defect)
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: jhlin, Assigned: jhlin)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
1.60 KB,
patch
|
jhlin
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 2•12 years ago
|
||
(In reply to C.J. Ku[:CJKu] from comment #1)
> More description please
mEosSetInEncoder should be be set in OmxVideoTrackEncoder::GetEncodedTrack() only after EOS signal is sent to OMXVideoEncoder but current implementation fails to check the return value of the signaling action. When input buffers are full, OmxVideoTrackEncoder is supposed to retry (with EOS signal) again. But since mEosSetInEncoder is incorrectly set already, EOS signal will never be passed to OMXVideoEncoder so it just keeps going.
Assignee | ||
Comment 3•12 years ago
|
||
Don't set mEosSetInEncoder unless EOS is actually sent to OMXVideoEncoder.
Attachment #8375411 -
Flags: review?(roc)
Attachment #8375411 -
Flags: review?(roc) → review+
Updated•11 years ago
|
Blocks: MediaEncoder
Assignee | ||
Comment 4•11 years ago
|
||
Update commit message and carry the r+ from roc.
Attachment #8375411 -
Attachment is obsolete: true
Attachment #8377336 -
Flags: review+
Assignee | ||
Comment 5•11 years ago
|
||
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Keywords: checkin-needed
Comment 7•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
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
•