gecko-dev/dom/media/webm
JW Wang f2ea37e57b Bug 1357986 - Use helper functions of TimeUnit to make code more readable. r=kaku
1. using media::TimeUnit to save some typing.
2. replace TimeUnit() with TimeUnit::Zero().
3. replace TimeUnit::FromXXX(0) with TimeUnit::Zero().
4. replace TimeUnit::FromMicroseconds(std::numeric_limits<int64_t>::max()) with TimeUnit::FromInfinity().
5. replace some uses of int64_t with TimeUnit.
6. replace t > TimeUnit() with t.IsPositive().

MozReview-Commit-ID: 6hC94PXx86i

--HG--
extra : rebase_source : 1ea3b409e6ec12915f3e1a00359d6ff4152c8917
extra : intermediate-source : e31a12ad0e7a4840119036f261ed17eaaff85734
extra : source : ae07ee48000c4a52da0e4fd502b4d690ec51ce1f
2017-04-17 16:35:04 +08:00
..
EbmlComposer.cpp Bug 1231848 - Do not write framerate metadata to webm container in MediaRecorder. r=bechen,jesup,rillian 2017-01-13 09:00:55 +01:00
EbmlComposer.h Bug 1231848 - Do not write framerate metadata to webm container in MediaRecorder. r=bechen,jesup,rillian 2017-01-13 09:00:55 +01:00
NesteggPacketHolder.h Bug 1261900: [webm] Use block duration if known. r=kinetik 2016-04-21 21:07:54 +10:00
WebMBufferedParser.cpp Bug 1060419 - make log_print use Printf.h, r=froydnj 2016-12-15 20:16:31 -07:00
WebMBufferedParser.h Bug 1314533: P5. Abort when webm parser encounter an error. r=kinetik 2016-11-04 23:01:49 +11:00
WebMDecoder.cpp Bug 1332160 - use nsCString internally whenever possible. r=gerald 2017-01-18 16:51:31 +08:00
WebMDecoder.h Bug 1332160 - use nsCString internally whenever possible. r=gerald 2017-01-18 16:51:31 +08:00
WebMDemuxer.cpp Bug 1357986 - Use helper functions of TimeUnit to make code more readable. r=kaku 2017-04-17 16:35:04 +08:00
WebMDemuxer.h Bug 1334508: Treat demuxing errors differently than EOS. r=kinetik 2017-02-19 23:46:16 +01:00
WebMWriter.cpp Bug 1231848 - Do not write framerate metadata to webm container in MediaRecorder. r=bechen,jesup,rillian 2017-01-13 09:00:55 +01:00
WebMWriter.h Bug 1231848 - Do not write framerate metadata to webm container in MediaRecorder. r=bechen,jesup,rillian 2017-01-13 09:00:55 +01:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00