Closed
Bug 972246
Opened 10 years ago
Closed 10 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•10 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•10 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•10 years ago
|
Blocks: MediaEncoder
Assignee | ||
Comment 4•10 years ago
|
||
Update commit message and carry the r+ from roc.
Attachment #8375411 -
Attachment is obsolete: true
Attachment #8377336 -
Flags: review+
Assignee | ||
Comment 5•10 years ago
|
||
Try result: https://tbpl.mozilla.org/?tree=Try&rev=7e2f6dd6a678
Keywords: checkin-needed
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/b1a1ebc98ef6
Keywords: checkin-needed
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b1a1ebc98ef6
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Updated•10 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
•