TrackBuffersManager::RemoveFrames sets the removed-intervals "fuzz" twice, one of them must be wrong

RESOLVED FIXED in Firefox 42

Status

()

defect
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: gerald, Assigned: gerald)

Tracking

(Blocks 1 bug)

unspecified
mozilla43
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox42 fixed, firefox43 fixed)

Details

Attachments

(1 attachment)

Assignee

Description

4 years ago
In dom/media/mediasource/TrackBuffersManager.cpp, TrackBuffersManager::RemoveFrames contains two lines where the removed-intervals fuzz is set:
|removedIntervals.SetFuzz(TimeUnit::FromMicroseconds(maxSampleDuration));|
|removedIntervals.SetFuzz(TimeUnit::FromMicroseconds(maxSampleDuration/2));|

To match InsertFrames, the 2nd one is preferred (to allow a maximum gap of 1 frame).
Assignee

Updated

4 years ago
Version: 1.0 Branch → unspecified
Assignee

Comment 1

4 years ago
Removed redundant&wrong SetFuzz in RemoveFrames.
Attachment #8646757 - Flags: review?(jyavenard)
Attachment #8646757 - Flags: review?(jyavenard) → review+
https://hg.mozilla.org/mozilla-central/rev/5bff51ff1723
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Blocks: 1197083
Backed out for a youtube playback regression. See Bug 1199573.
https://hg.mozilla.org/releases/mozilla-aurora/rev/5bb661db5c6c
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Last Resolved: 4 years ago4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.