Closed Bug 1701992 Opened 4 years ago Closed 4 years ago

Fix `MediaQueue::GetElementsAfter()`

Categories

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

task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: alwu, Assigned: alwu)

Details

Attachments

(1 file)

These code [1] didn't run correctly as what it describes, it would still return the data that has an earlier time than the given time.

[1] https://searchfox.org/mozilla-central/source/dom/media/MediaQueue.h#126-143

Current GetElementsAfter() is wrong, the result array would still contain the element which end time is earlier or equal to the given time.

Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/35cdf8d4e560 fix `MediaQueue::GetElementsAfter()`. r=bryce
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: