Open
Bug 1165773
Opened 9 years ago
Updated 2 years ago
Ogg reader can report negative and/or empty time ranges
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox41 | --- | affected |
People
(Reporter: jya, Unassigned)
References
Details
Found while working on bug 1163445. I've currently put a work around in place so we would never return negative end time by simply ignoring that particular time range. The fix should be more elegant and not reporting end time as negative to start with. In OggReader::GetBuffered() ; when we have a start time, we check the end time by calling: int64_t endTime = RangeEndTime(startOffset, endOffset, true); This can report negative values under some circumstances (haven't looked why). So we end up with end time being inferior to start time. dom::TimeRanges silently drop those time ranges which TimeIntervals will assert. RangeEndTime shouldn't return negative value other than -1 when an error occurs.
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: Playback
Updated•9 years ago
|
Depends on: oggdemuxer
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•