Closed Bug 1131305 Opened 9 years ago Closed 9 years ago

MediaDecoderStateMachine should handle negative time

Categories

(Core :: Audio/Video, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1179110

People

(Reporter: jya, Unassigned)

References

Details

Spawned from bug 1114805 comment 9

Currently, we assert if we attempt to perform any operations on a negative time value (in particular seek).

start and end time position are initially set to -1 which means "no value/not set".

There's no guarantee that a media won't have a negative start or end value. The only guarantee is that the duration is positive.

We should handle this case, and don't assume that a time can't be negative
Depends on: 1137100
bug 1179110 will fix this issue.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.