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.
Created attachment 630227 [details] [diff] [review] Patch v0 : fix the bug and add a test.
Attachment #630227 - Flags: review?
Attachment #630227 - Flags: review? → review?(chris.double)
Created attachment 630403 [details] [diff] [review] Adding r=chris.double
Attachment #630227 - Attachment is obsolete: true
Target Milestone: --- → mozilla16
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.