Closed Bug 1349145 Opened 8 years ago Closed 8 years ago

Revert the code of bug 1203047

Categories

(Core :: Audio/Video: Playback, enhancement, P3)

enhancement

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.
Depends on: 1194606, 1318225
Depends on: 1203047
Summary: Revert the code of bug 1194606 → Revert the code of bug 1203047
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 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 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+
Thanks for the reviews!
Assignee: nobody → jwwang
Priority: -- → P3
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
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: