Closed
Bug 1323929
Opened 9 years ago
Closed 9 years ago
Change the reject value type from nsresult to MediaResult
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla53
| Tracking | Status | |
|---|---|---|
| firefox53 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
Details
Attachments
(1 file)
http://searchfox.org/mozilla-central/rev/09ae31fddfbc229ef1b8f1a3ccd87ad05680e695/dom/media/MediaDecoderReader.h#73
To be consistent with that of MediaTrackDemuxer::SeekPromise.
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jwwang
Priority: -- → P3
Comment 2•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8819196 [details]
Bug 1323929 - Change the reject value type from nsresult to MediaResult.
https://reviewboard.mozilla.org/r/99066/#review99304
::: dom/media/MediaDecoderStateMachine.cpp:1116
(Diff revision 1)
> }
>
> - void OnSeekRejected(nsresult aResult) {
> + void OnSeekRejected(const MediaResult& aError) {
> mSeekRequest.Complete();
>
> - MOZ_ASSERT(NS_FAILED(aResult), "Cancels should also disconnect mSeekRequest");
> + MOZ_ASSERT(NS_FAILED(aError.Code()), "Cancels should also disconnect mSeekRequest");
NS_FAILED(aError) will work
Attachment #8819196 -
Flags: review?(jyavenard) → review+
| Assignee | ||
Comment 3•9 years ago
|
||
Thanks!
| Comment hidden (mozreview-request) |
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dd98f539dad2
Change the reject value type from nsresult to MediaResult. r=jya
Comment 6•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•