Closed Bug 1318225 Opened 8 years ago Closed 8 years ago

Remove demux-only related API and the test case.

Categories

(Core :: Audio/Video: Playback, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: JamesCheng, Assigned: JamesCheng)

References

Details

Attachments

(2 files)

This bug is to remove the work of Bug 1194606.

Since the original design is for B2G external rendering usage but it is no longer needed.
No longer blocks: 1318202
Attachment #8811614 - Flags: review?(jyavenard)
Attachment #8811615 - Flags: review?(jyavenard)
Comment on attachment 8811614 [details]
Bug 1318225 - Part1 - Remove Test Case.

https://reviewboard.mozilla.org/r/93672/#review93740
Attachment #8811614 - Flags: review?(jyavenard) → review+
Comment on attachment 8811615 [details]
Bug 1318225 - Part2 - Remove demux-only APIs.

https://reviewboard.mozilla.org/r/93674/#review93742

::: dom/media/MediaDecoderStateMachine.h
(Diff revision 1)
>    // Returns true if we're currently playing. The decoder monitor must
>    // be held.
>    bool IsPlaying() const;
>  
> -  // TODO: Those callback function may receive demuxed-only data.
> -  // Need to figure out a suitable API name for this case.

Those were changed so it would no longer return AudioData or VideoData and instead the base type MediaData

this has lead to having no unecessary checks if the type returned.

please change back those API as they were before demux only mode was introduced and all checks related
Attachment #8811615 - Flags: review?(jyavenard) → review-
Thank you.  I will revert the work on Bug 1203047.
Comment on attachment 8811614 [details]
Bug 1318225 - Part1 - Remove Test Case.

https://reviewboard.mozilla.org/r/93670/#review94444

The intention of Bug 1203047 is to make code abstracted, so I think we should keep the MediaData* instead of VideoData*/AudioData* for data passing.

For data abstraction,  I will not revert the MediaDataPromise to Video/AudioDataPromise. 

Removing the unnecessary parameter.

Thanks.
Comment on attachment 8811615 [details]
Bug 1318225 - Part2 - Remove demux-only APIs.

https://reviewboard.mozilla.org/r/93674/#review94776
Attachment #8811615 - Flags: review?(jyavenard) → review+
Thank you for review. Rebased the patch
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/7014315bb46f
https://hg.mozilla.org/mozilla-central/rev/3a4c4f69e179
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: