Open Bug 1090000 Opened 10 years ago Updated 2 years ago

Duration error introduced by seeking

Categories

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

defect

Tracking

()

People

(Reporter: jwwang, Unassigned)

Details

Attachments

(2 files)

Attached file test_duration.html
The test case tests if the duration remain the same before and after seeking. The duration is consistent on Chrome. However, it shows 0.300104 and 0.300121 respectively on FireFox.

This is because we have round-down error in MediaDecoderStateMachine::DropAudioUpToSeekTarget() when converting micro seconds to frames.

We should tolerant round-down error at http://hg.mozilla.org/mozilla-central/file/20408ad61ce5/dom/media/MediaDecoderStateMachine.cpp#l2503 so there is no slop in end time/duration.
Attached audio bug495794.ogg
The file played by test_duration.html.
Assignee: nobody → jwwang
Status: NEW → ASSIGNED
Component: Audio/Video → Audio/Video: Playback
Assignee: jwwang → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: