Closed
Bug 1283370
Opened 9 years ago
Closed 9 years ago
Some NextFrameSeekTask code cleanup
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(7 files)
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
No description provided.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jwwang
Updated•9 years ago
|
Priority: -- → P2
Assignee | ||
Comment 1•9 years ago
|
||
Mass change P2 -> P3
Priority: P2 → P3
Assignee | ||
Comment 3•9 years ago
|
||
1. On{Audio,Video}[Not]Decoded() happens after |return mSeekTaskPromise.Ensure(__func__)|
in Seek(). mSeekTaskPromise is non-empty and Exists() will return true.
2. Is{Audio,Video}SeekComplete() is called indirectly from On{Audio,Video}[Not]Decoded()
where Exists() is guaranteed to be true.
Review commit: https://reviewboard.mozilla.org/r/62606/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/62606/
Attachment #8768292 -
Flags: review?(kaku)
Attachment #8768293 -
Flags: review?(kaku)
Attachment #8768294 -
Flags: review?(kaku)
Attachment #8768295 -
Flags: review?(kaku)
Attachment #8768296 -
Flags: review?(kaku)
Attachment #8768297 -
Flags: review?(kaku)
Attachment #8768298 -
Flags: review?(kaku)
Assignee | ||
Comment 4•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/62608/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/62608/
Assignee | ||
Comment 5•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/62610/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/62610/
Assignee | ||
Comment 6•9 years ago
|
||
We guarantee to have |!mReader->IsRequestingAudioData() && !mReader->IsWaitingAudioData()|
when there is no audio at all. We can remove the check for HasAudio().
Review commit: https://reviewboard.mozilla.org/r/62612/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/62612/
Assignee | ||
Comment 7•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/62614/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/62614/
Assignee | ||
Comment 8•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/62616/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/62616/
Assignee | ||
Comment 9•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/62618/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/62618/
Updated•9 years ago
|
Attachment #8768292 -
Flags: review?(kaku) → review+
Comment 10•9 years ago
|
||
Comment on attachment 8768292 [details]
Bug 1283370. Part 1 - remove unnecessary checks for Exists().
https://reviewboard.mozilla.org/r/62606/#review59596
Comment 11•9 years ago
|
||
Comment on attachment 8768293 [details]
Bug 1283370. Part 2 - remove unnecessary checks for HasVideo() for we assert it in the constructor.
https://reviewboard.mozilla.org/r/62608/#review59598
Attachment #8768293 -
Flags: review?(kaku) → review+
Comment 13•9 years ago
|
||
Comment on attachment 8768294 [details]
Bug 1283370. Part 3 - remove unused HasVideo().
https://reviewboard.mozilla.org/r/62610/#review59602
Attachment #8768294 -
Flags: review?(kaku) → review+
Comment 14•9 years ago
|
||
Comment on attachment 8768295 [details]
Bug 1283370. Part 4 - remove HasAudio().
https://reviewboard.mozilla.org/r/62612/#review59606
Attachment #8768295 -
Flags: review?(kaku) → review+
Updated•9 years ago
|
Attachment #8768296 -
Flags: review?(kaku) → review+
Comment 15•9 years ago
|
||
Comment on attachment 8768296 [details]
Bug 1283370. Part 5 - make EnsureVideoDecodeTaskQueued() return void.
https://reviewboard.mozilla.org/r/62614/#review59608
Comment 16•9 years ago
|
||
Comment on attachment 8768297 [details]
Bug 1283370. Part 6 - remove asserting |mReader->IsWaitForDataSupported()| for mReader->WaitForData() will crash if the method has no override.
https://reviewboard.mozilla.org/r/62616/#review59610
Attachment #8768297 -
Flags: review?(kaku) → review+
Updated•9 years ago
|
Attachment #8768298 -
Flags: review?(kaku) → review+
Comment 17•9 years ago
|
||
Comment on attachment 8768298 [details]
Bug 1283370. Part 7 - remove setting mNeedToStopPrerollingVideo per discussion in https://reviewboard.mozilla.org/r/43689/#comment54421.
https://reviewboard.mozilla.org/r/62618/#review59612
Assignee | ||
Comment 18•9 years ago
|
||
Thanks for the review!
Comment 19•9 years ago
|
||
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f08c25ed6e87
Part 1 - remove unnecessary checks for Exists(). r=kaku
https://hg.mozilla.org/integration/autoland/rev/933fa4644790
Part 2 - remove unnecessary checks for HasVideo() for we assert it in the constructor. r=kaku
https://hg.mozilla.org/integration/autoland/rev/030c194e154d
Part 3 - remove unused HasVideo(). r=kaku
https://hg.mozilla.org/integration/autoland/rev/bba3e109af22
Part 4 - remove HasAudio(). r=kaku
https://hg.mozilla.org/integration/autoland/rev/29b0c523b59a
Part 5 - make EnsureVideoDecodeTaskQueued() return void. r=kaku
https://hg.mozilla.org/integration/autoland/rev/86697ab137dc
Part 6 - remove asserting |mReader->IsWaitForDataSupported()| for mReader->WaitForData() will crash if the method has no override. r=kaku
https://hg.mozilla.org/integration/autoland/rev/989bd85d2f8e
Part 7 - remove setting mNeedToStopPrerollingVideo per discussion in https://reviewboard.mozilla.org/r/43689/#comment54421. r=kaku
Comment 20•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f08c25ed6e87
https://hg.mozilla.org/mozilla-central/rev/933fa4644790
https://hg.mozilla.org/mozilla-central/rev/030c194e154d
https://hg.mozilla.org/mozilla-central/rev/bba3e109af22
https://hg.mozilla.org/mozilla-central/rev/29b0c523b59a
https://hg.mozilla.org/mozilla-central/rev/86697ab137dc
https://hg.mozilla.org/mozilla-central/rev/989bd85d2f8e
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in
before you can comment on or make changes to this bug.
Description
•