Closed
Bug 1231257
Opened 9 years ago
Closed 8 years ago
Flush individual port instead of OMX_ALL
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: ayang, Assigned: ayang)
References
Details
Attachments
(1 file, 2 obsolete files)
8.31 KB,
patch
|
sotaro
:
review+
|
Details | Diff | Splinter Review |
During developing of video decoding bug 1224889, I found some omx components doesn't event OMX_ALL event back when flush with port OMX_ALL (flush all of port). Instead, it send flush complete event for each port separately. To have better compatibility, we should flush each port instead of OMX_ALL.
Assignee | ||
Comment 1•9 years ago
|
||
Assignee: nobody → ayang
Attachment #8696869 -
Flags: review?(sotaro.ikeda.g)
Comment 2•9 years ago
|
||
By the way, codeaurora omx have problem around OMX_CommandFlush. See Bug 1101826.
See Also: → 1101826
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #2) > By the way, codeaurora omx have problem around OMX_CommandFlush. See Bug > 1101826. hmm... it looks like some components even failed to handle flushing inport and outport continuously. To address the problem like bug 1101826, we can't send flush command before previous flush is completed. Is it correct?
Assignee | ||
Comment 4•9 years ago
|
||
Flush port one by one before previous flush is completed.
Attachment #8696869 -
Attachment is obsolete: true
Attachment #8696869 -
Flags: review?(sotaro.ikeda.g)
Attachment #8697980 -
Flags: review?(sotaro.ikeda.g)
Comment 5•9 years ago
|
||
(In reply to Alfredo Yang (:alfredo) from comment #3) > (In reply to Sotaro Ikeda [:sotaro] from comment #2) > > By the way, codeaurora omx have problem around OMX_CommandFlush. See Bug > > 1101826. > > hmm... it looks like some components even failed to handle flushing inport > and outport continuously. > To address the problem like bug 1101826, we can't send flush command before > previous flush is completed. > Is it correct? It should be OK. But it could cause the problem in some il components like Bug 1101826. The il component in Bug 1101826 actually flush all ports when one port flush is requested. Then if another port flush command is sent before the previous one`s complete, it could not handle both command correctly in some timing cases.
Comment 6•9 years ago
|
||
Comment on attachment 8697980 [details] [diff] [review] change_omx_all_flush Review of attachment 8697980 [details] [diff] [review]: ----------------------------------------------------------------- Don't we need to check if aParam1 is OMX_ALL?
Assignee | ||
Comment 7•9 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #6) > Comment on attachment 8697980 [details] [diff] [review] > change_omx_all_flush > > Review of attachment 8697980 [details] [diff] [review]: > ----------------------------------------------------------------- > > Don't we need to check if aParam1 is OMX_ALL? We do. OMX_ALL is actually 0xFFFFFFFF, so a OMX_ALL will divide into 2 flush commands, OMX_DirInput and OMX_DirOutput respectively. And then adding to mFlushCommands list to perform flush one by one.
Assignee | ||
Comment 8•9 years ago
|
||
Fixed the correct OMX_ALL. And make sure each port is flushed.
Attachment #8697980 -
Attachment is obsolete: true
Attachment #8697980 -
Flags: review?(sotaro.ikeda.g)
Attachment #8699346 -
Flags: review?(sotaro.ikeda.g)
Comment 9•9 years ago
|
||
Comment on attachment 8699346 [details] [diff] [review] change_omx_all_flush Review of attachment 8699346 [details] [diff] [review]: ----------------------------------------------------------------- Looks good! Port type handling becomes clear.
Attachment #8699346 -
Flags: review?(sotaro.ikeda.g) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 10•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ff2cd5efa012
Keywords: checkin-needed
Comment 11•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ff2cd5efa012
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in
before you can comment on or make changes to this bug.
Description
•