Closed
Bug 1121064
Opened 10 years ago
Closed 10 years ago
Remove dormant dependent status change from MediaDecoder::SetDormantIfNecessary()
Categories
(Core :: Audio/Video, defect, P1)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
Since Bug 1108728 fix, dormant specific status was removed from MediaDecoder. But MediaDecoder::SetDormantIfNecessary() is still doing dormant dependent status change to MediaDecoder. It is necessary to be removed from MediaDecoder.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → sotaro.ikeda.g
Updated•10 years ago
|
Priority: -- → P1
Assignee | ||
Comment 1•10 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #0)
> Since Bug 1108728 fix, dormant specific status was removed from
> MediaDecoder. But MediaDecoder::SetDormantIfNecessary() is still doing
> dormant dependent status change to MediaDecoder. It is necessary to be
> removed from MediaDecoder.
When the status change is simply removed from MediaDecoder::SetDormantIfNecessary(), the following redundant function calls during resuming from dormant cause incorrect state transition.
- MediaDecoder::FirstFrameLoaded()
- MediaDecoder::SeekingStoppedAtEnd()
- MediaDecoder::SeekingStopped()
Assignee | ||
Comment 2•10 years ago
|
||
After some investigations, I recognized that MediaDecoder could not be independent from dormant state of MediaDecoderStateMachine. When MediaDecoderStateMachine is in dormant state, MediaDecoder can not change it's state ChangeState(PLAY_STATE_LOADING) realize it. Until file is loaded again, MediaDecoder::mNextState stores status change.
Assignee | ||
Comment 3•10 years ago
|
||
Set to WONTFIX based on Comment 2.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•