Closed
Bug 1292449
Opened 9 years ago
Closed 9 years ago
Remove some more IsShutdown() checks from MediaDecoder
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(3 files)
The sequel of bug 1290780.
Assignee | ||
Updated•9 years ago
|
Assignee | ||
Comment 1•9 years ago
|
||
1. Called from SourceBuffer::AppendDataCompletedWithSuccess() where mMediaSource->GetDecoder() is not null so this must happen before Shutdown().
2. Called from SourceBuffer::Ended() where mMediaSource->GetDecoder() is not null.
3. Called from MediaDecoder::ResourceCallback::TimerCallback() which is canceled in Disconnect().
Review commit: https://reviewboard.mozilla.org/r/69502/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/69502/
Assignee | ||
Comment 2•9 years ago
|
||
1. Called from SourceBuffer::AppendDataCompletedWithSuccess() where mMediaSource->GetDecoder() is not null.
2. Called from MediaDecoder::ResourceCallback::NotifyBytesDownloaded() which is disconnected in Shutdown().
Review commit: https://reviewboard.mozilla.org/r/69504/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/69504/
Assignee | ||
Comment 3•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/69506/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/69506/
Assignee | ||
Updated•9 years ago
|
Attachment #8778117 -
Flags: review?(jyavenard)
Attachment #8778118 -
Flags: review?(jyavenard)
Attachment #8778119 -
Flags: review?(kaku)
Comment 4•9 years ago
|
||
Comment on attachment 8778119 [details]
Bug 1292449. Part 3 - Assert IsShutdown() is false in MediaDecoder::Shutdown(). Shutdown() should be only called once.
https://reviewboard.mozilla.org/r/69506/#review66998
Attachment #8778119 -
Flags: review?(kaku) → review+
Comment 5•9 years ago
|
||
Comment on attachment 8778117 [details]
Bug 1292449. Part 1 - Assert IsShutdown() is false in NotifyDataArrived().
https://reviewboard.mozilla.org/r/69502/#review67004
Attachment #8778117 -
Flags: review?(jyavenard) → review+
Comment 6•9 years ago
|
||
Comment on attachment 8778118 [details]
Bug 1292449. Part 2 - Assert IsShutdown() is false in NotifyBytesDownloaded().
https://reviewboard.mozilla.org/r/69504/#review67006
Attachment #8778118 -
Flags: review?(jyavenard) → review+
Assignee | ||
Comment 7•9 years ago
|
||
Thanks for the review!
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c39c23a88c7a
Part 1 - Assert IsShutdown() is false in NotifyDataArrived(). r=jya
https://hg.mozilla.org/integration/autoland/rev/a62419846b2f
Part 2 - Assert IsShutdown() is false in NotifyBytesDownloaded(). r=jya
https://hg.mozilla.org/integration/autoland/rev/e47457d354ec
Part 3 - Assert IsShutdown() is false in MediaDecoder::Shutdown(). Shutdown() should be only called once. r=kaku
Comment 9•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c39c23a88c7a
https://hg.mozilla.org/mozilla-central/rev/a62419846b2f
https://hg.mozilla.org/mozilla-central/rev/e47457d354ec
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in
before you can comment on or make changes to this bug.
Description
•