Closed
Bug 486991
Opened 15 years ago
Closed 15 years ago
Use TimeStamp/TimeDuration instead of PRIntervalTime in content/media
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
People
(Reporter: roc, Assigned: roc)
Details
(Keywords: fixed1.9.1)
Attachments
(3 files)
4.92 KB,
patch
|
benjamin
:
review+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
19.77 KB,
patch
|
cajbir
:
review+
roc
:
approval1.9.1+
|
Details | Diff | Splinter Review |
30.42 KB,
patch
|
cajbir
:
review+
roc
:
approval1.9.1+
|
Details | Diff | Splinter Review |
PRIntervalTime can wrap around and does not provide typechecking to distinguish "moments" from "durations".
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → roc
Assignee | ||
Comment 1•15 years ago
|
||
Turns out some of those extra operators are needed sooner than I thought. I've used a trick to allow TimeDuration(0) to compile but not, say, TimeDuration(3). When doing conversion work I found TimeDuration(0) much more readable than TimeDuration(). Obviously when the parameter is 0 there is no issue with what the units are.
Attachment #371195 -
Flags: review?
Assignee | ||
Updated•15 years ago
|
Attachment #371195 -
Flags: review? → review?(benjamin)
Assignee | ||
Comment 2•15 years ago
|
||
Attachment #371196 -
Flags: review?(chris.double)
Assignee | ||
Comment 3•15 years ago
|
||
Attachment #371197 -
Flags: review?(chris.double)
Assignee | ||
Updated•15 years ago
|
Attachment #371197 -
Attachment description: Convert media decoders and nsMediaStream to use TimeStamp/TimeDuration → Part 3: convert media decoders and nsMediaStream to use TimeStamp/TimeDuration
Updated•15 years ago
|
Attachment #371196 -
Flags: review?(chris.double) → review+
Updated•15 years ago
|
Attachment #371197 -
Flags: review?(chris.double) → review+
Updated•15 years ago
|
Attachment #371195 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 4•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/2ef288cba538 http://hg.mozilla.org/mozilla-central/rev/9636c809be78 http://hg.mozilla.org/mozilla-central/rev/e002cdfb86c1
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [needs 191 landing]
Assignee | ||
Comment 5•15 years ago
|
||
Comment on attachment 371195 [details] [diff] [review] Part 1: update TimeStamp/TimeDuration We'll need this in 1.9.1 to avoid potential bugs when PRIntervalTime wraps around
Attachment #371195 -
Flags: approval1.9.1?
Assignee | ||
Updated•15 years ago
|
Attachment #371196 -
Flags: approval1.9.1+
Assignee | ||
Updated•15 years ago
|
Attachment #371197 -
Flags: approval1.9.1+
Assignee | ||
Updated•15 years ago
|
Whiteboard: [needs 191 landing] → [needs 191 approval]
Updated•15 years ago
|
Attachment #371195 -
Flags: approval1.9.1? → approval1.9.1+
Comment 6•15 years ago
|
||
Comment on attachment 371195 [details] [diff] [review] Part 1: update TimeStamp/TimeDuration a191=beltzner
Assignee | ||
Updated•15 years ago
|
Whiteboard: [needs 191 approval] → [needs 191 landing]
Assignee | ||
Comment 7•15 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/fcb135f5d833 http://hg.mozilla.org/releases/mozilla-1.9.1/rev/f2ad6aa56a6b http://hg.mozilla.org/releases/mozilla-1.9.1/rev/9d5b91a57fef
Keywords: fixed1.9.1
Whiteboard: [needs 191 landing]
You need to log in
before you can comment on or make changes to this bug.
Description
•