Closed Bug 670055 Opened 14 years ago Closed 14 years ago

Make DecodeToTarget sample accurate for audio

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
firefox8 --- fixed

People

(Reporter: cpearce, Assigned: cpearce)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

Our seeks use nsBuiltinDecoderReader::DecodeToTarget() to decode up to the seek target after the main seek returns. This pumps the decode until the decode produces a VideoData and/or SoundData which contains the seek target. But for audio we'll begin playback at the start of the SoundData, not at the actual seek target. There could be an unknown amount of sound data before the seek target, reducing the accuracy of our seek.
Attachment #544668 - Flags: review?(kinetik) → review+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
Whiteboard: [inbound]
Target Milestone: mozilla8 → ---
Depends on: 670726
Depends on: 675045
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: