Closed
Bug 1349145
Opened 8 years ago
Closed 8 years ago
Revert the code of bug 1203047
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(3 files)
Per bug 1318225 comment 6, we want to revert the changes since the abstraction is no longer needed.
This will also remove unnecessary checks and casting.
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Updated•8 years ago
|
Depends on: 1203047
Summary: Revert the code of bug 1194606 → Revert the code of bug 1203047
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8849864 [details]
Bug 1349145. P3 - use concrete types in MDSM and its friends. Also remove unnecessary casts.
https://reviewboard.mozilla.org/r/122598/#review124798
::: dom/media/MediaDecoderStateMachine.cpp:1383
(Diff revision 1)
> return NS_OK;
> }
>
> - nsresult DropVideoUpToSeekTarget(MediaData* aSample)
> + nsresult DropVideoUpToSeekTarget(VideoData* aSample)
> {
> - RefPtr<VideoData> video(aSample->As<VideoData>());
> + RefPtr<VideoData> video(aSample);
We can save this AddRef().
::: dom/media/mediasink/AudioSink.h:17
(Diff revision 1)
>
> #include "MediaSink.h"
>
> namespace mozilla {
>
> class MediaData;
We can remove this line now.
Attachment #8849864 -
Flags: review?(kaku) → review+
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8849862 [details]
Bug 1349145. P1 - revert the changes in bug 1203047 for MediaDecoderReader and its friends.
https://reviewboard.mozilla.org/r/122594/#review124818
::: commit-message-8c32a:2
(Diff revision 1)
> +Bug 1349145. P1 - revert MediaDecoderReader and its friends. r?jya
> +
Please state what it is you sre reverting in the commit log and put either the bug numbrr being or commit being reverted
as it is, one looking at this change can't tell what it is about...
Attachment #8849862 -
Flags: review?(jyavenard) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 9•8 years ago
|
||
mozreview-review |
Comment on attachment 8849863 [details]
Bug 1349145. P2 - revert the changes in bug 1203047 for MediaBufferDecoder.cpp.
https://reviewboard.mozilla.org/r/122596/#review124944
Attachment #8849863 -
Flags: review?(jyavenard) → review+
Assignee | ||
Comment 10•8 years ago
|
||
Thanks for the reviews!
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → jwwang
Priority: -- → P3
Comment 11•8 years ago
|
||
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d37892e8bc4b
P1 - revert the changes in bug 1203047 for MediaDecoderReader and its friends. r=jya
https://hg.mozilla.org/integration/autoland/rev/1488b925092f
P2 - revert the changes in bug 1203047 for MediaBufferDecoder.cpp. r=jya
https://hg.mozilla.org/integration/autoland/rev/1f50634b7a51
P3 - use concrete types in MDSM and its friends. Also remove unnecessary casts. r=kaku
Comment 12•8 years ago
|
||
backout bugherder |
landed on m-c
https://hg.mozilla.org/mozilla-central/rev/d37892e8bc4b
https://hg.mozilla.org/mozilla-central/rev/1488b925092f
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Comment 13•8 years ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•