Closed Bug 1908048 Opened 8 months ago Closed 7 months ago

off by one errors in TrackBuffersManager

Categories

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

defect

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox-esr115 --- wontfix
firefox-esr128 --- wontfix
firefox128 --- wontfix
firefox129 --- wontfix
firefox130 --- fixed

People

(Reporter: karlt, Assigned: karlt)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(3 files)

No description provided.

Skipping the previous frame could mean that either

  • for i = 1, mNextGetSampleIndex is not adjusted, or
  • the loop jumps back to an earlier keyframe.

This restores behavior to that prior to being accidentally changed in
https://hg.mozilla.org/mozilla-central/rev/f360c7c1251ed0a26d179beaf7cabbbdbdddbfe7#l1.200

Depends on D216645

Attachment #9412929 - Attachment description: Bug 1908048 exit loop as soon as sufficient has been evicted r?alwu → Bug 1908048 exit loops as soon as sufficient has been evicted r?alwu
Blocks: MSE
Pushed by ktomlinson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a1bd4e9c3d5b include last frame removed in eviction accounting r=alwu
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Pushed by ktomlinson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fdb31ce74b3b exit loops as soon as sufficient has been evicted r=alwu
Pushed by ktomlinson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/70be5625d77a search from previous frame for previous keyframe r=padenot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: