Closed Bug 761708 Opened 9 years ago Closed 9 years ago

Wrong |played| value when seeking back in the media.

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: padenot, Assigned: padenot)

References

Details

Attachments

(1 file, 1 obsolete file)

STR:
- Load a video
- Play for some time
- Seek back in the stream

Expected:
- |played| should be [0.00, time we seeked from].

Actual result:
- |played| is [0.00, time we seeked to].

This is caused by the |nsTimeRanges::Normalize| method, which has a bug, it does not handle ranges contained in other ranges.
Summary: Wrong |played| value when seeking bad in the media. → Wrong |played| value when seeking back in the media.
Attachment #630227 - Flags: review?
Attachment #630227 - Flags: review? → review?(chris.double)
Attachment #630227 - Flags: review?(chris.double) → review+
Attachment #630227 - Attachment is obsolete: true
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/849da4232313
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Depends on: 768583
You need to log in before you can comment on or make changes to this bug.