Commit Graph

87 Commits

Author SHA1 Message Date
Ed Morley
e02f78569a Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Chris Pearce
31692b338c Bug 661456 - Scale WebM video frames to display size. r=kinetik 2011-06-24 10:08:54 +12:00
Chris Pearce
903abe00da Bug 664354 - Make nsBuiltinDecoderStateMachine::GetUndecodedData() return result in usecs. r=roc 2011-06-15 14:26:33 +12:00
Chris Pearce
58ee300c25 Bug 651023 - Round up wait times to 1ms to ensure we drop the decoder monitor when presenting video frames. r=kinetik 2011-05-12 14:02:34 +12:00
Chris Pearce
2a83abc668 Bug 566779 - Clean up media start and end time calculation. r=doublec 2011-05-09 09:10:28 +12:00
Chris Pearce
eed5297bd3 Bug 650994 - Decode ogg packets lazily, timestamp them at demux time. r=doublec 2011-05-08 18:24:09 +12:00
Chris Jones
4b3bb04878 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc 2011-04-29 14:21:57 -05:00
Chris Pearce
ba2a057d7a Bug 650157 - Push nsBuiltinDecoderReader::mDataOffset down into nsOggReader. r=doublec 2011-04-15 13:29:54 +12:00
Chris Pearce
52bae6a140 Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik 2011-04-14 10:12:23 +12:00
Yury
1dcbc76d14 Bug 638807 - Data race on nsBuiltinDecoder::mFrameBufferLength; r=chris.double 2011-04-11 17:15:45 -04:00
Ehsan Akhgari
9c7ea41e6f Backout changeset c51a334e99d9 (bug 638807) because of crashtest orange 2011-04-10 02:01:36 -04:00
Yury
99055b2ba4 Bug 638807 - Data race on nsBuiltinDecoder::mFrameBufferLength; r=chris.double 2011-04-09 23:35:12 -04:00
Matthew Gregan
d5090fef09 Bug 645593 - Null check mAudioStream before use in PlaySilence. r=cpearce 2011-03-30 18:45:44 +13:00
Chris Double
29bec9d198 Bug 639721 - Fix data race on nsBuiltinDecoderReader::mInfo - r=kinetik 2011-03-24 16:53:03 +13:00
Chris Pearce
20178f5f61 Bug 693391 - Pin nsMediaStream while determining buffered ranges. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce
bdf79ad2b2 Bug 628665 - Supress warnings in nsBuiltinDecoderStateMachine. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce
848f87e855 Bug 628665 - Exit media buffering state quicker if we entered it too soon after starting decode. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
2d299265bd Bug 628665 - Buffer media when low on undecoded data. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
3b5d64cf61 Bug 628665 - Resurrect nsBuiltinDecoderStateMachine::HasLowDecodedData(). r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
3d37815baf Bug 580531 - Implement HTMLMediaElement.mozPaintedFrames and mozFrameDelay. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
d6fde26883 Bug 580531 - Add video demuxing/decoding stats. r=kinetik sr=roc 2011-03-24 11:28:57 +13:00
Matthew Gregan
98eb79b388 Bug 636894 - Revert bug 634787's change to AUDIO_DURATION_MS to work around a regression in MozAudioAvailable event delivery. r=roc a=roc 2011-03-02 14:40:44 +13:00
Matthew Gregan
c07b876567 Bug 634787 - Fix frame wait calculation and early return from Wait(). r=cpearce a=roc 2011-02-18 15:30:33 +13:00
Matthew Gregan
b725320764 Bug 627139 - Report seek target as current time immediately after seeking. r=roc a=roc 2011-02-01 15:57:13 +13:00
Chris Double
91c2911986 Bug 630461 - Fix signed/unsigned comparison compiler warnings in nsBuiltinDecoderStateMachine - r=cpearce a=roc 2011-02-02 14:35:47 +13:00
Chris Pearce
465e153aee Bug 607838 - Don't drain audio stream when it's paused, it won't finish. r=kinetik a=blocking2.0:final 2011-02-03 12:44:40 +13:00
Chris Double
b2f7a97854 Bug 607838 - Allow audio drains to be interrupted - r=cpearce a=blocking2.0:final 2011-02-02 14:31:53 +13:00
Chris Pearce
52bb3398c6 Bug 626979 - Handle WebM frame size changes. r=kinetik a=blocking2.0 2011-01-28 19:36:03 +13:00
Chris Pearce
edb3410996 Bug 623637 - Change assertion into check in media data exhausted notification. r=roc a=roc 2011-01-18 21:09:04 +13:00
Matthew Gregan
d87175c7ff Bug 626273 - Correct boundary seek logic. Change media element IDL floats to doubles per the spec. Invalidate updated frame after seeking. Optimize small forward seeks in WebM. r=cpearce a=roc 2011-01-17 16:03:00 +13:00
Chris Pearce
43d23cb4b8 Bug 623637 - Initiate media buffering when decode hits end of downloaded data, rather than when they're close. r=roc a=roc 2011-01-18 13:53:18 +13:00
Chris Pearce
9666efc1be Bug 623637 - Restore playback statistics to enable more accurate media buffering duration calculation. r=roc a=roc 2011-01-18 13:53:18 +13:00
Chris Pearce
6fe40a5a08 Bug 620326 - Ensure media decoder loop always makes its decision to sleep based on up-to-date information. r=roc a=roc 2011-01-13 14:06:15 +13:00
Chris Pearce
e93dcc9adf Bug 616800 - Ensure AudioLoop() doesn't sleep, and can still drain, if we've pushed less than the start threshold of audio to hardware. r=kinetik a=blocking2.0 2010-12-20 08:05:40 +13:00
Chris Pearce
ae8fe5ee5e Bug 610570 - Only skip to next keyframe when not running out of data to decode. r=roc a=blocking2.0 2010-11-29 09:06:38 +13:00
Doug Turner
b2a72f6b8c [Bug 613982] Crash [@ libdvm.so@0x48c42 ] in sa_stream_write when closing a tab playing audio. r=kinetik. a=blocking-fennec 2010-11-22 14:08:49 -08:00
Doug Turner
f738730989 Bug 599089 - Remote Audio to parent process. r=kinetik a=blocking-fennec 2010-11-16 20:14:19 -08:00
Chris Pearce
e6dcd9b7d5 Bug 503623 - Ensure the decoder doesn't sleep forever after filling its buffers when paused. r=doublec a=roc 2010-11-05 13:44:33 +13:00
Timothy B. Terriberry
6c0f16b9f8 Bug 511348 - Integrate Tremor for Vorbis decoding for non/slow-FPU platforms. r=chris.double a=blocking-fennec 2010-10-18 19:55:45 -07:00
Chris Pearce
13c3f83f4f Bug 604067 - Handle error codes from libvorbis in WebM reader. r=kinetik a=blocking2.0 2010-10-17 08:57:45 +13:00
Chris Pearce
2fc20821f6 Bug 603226 - Remove nsBuiltinDecoderStateMachine::mBufferExhausted because its unreliable. r=roc a=blocking2.0 2010-10-17 07:41:53 +13:00
Chris Pearce
b3c59c5d1d Bug 603226 - Backed out changeset f63595eb0733 a=backout 2010-10-17 10:05:21 +13:00
Chris Pearce
2a8d32fbfa Bug 603226 - Remove nsBuiltinDecoderStateMachine::mBufferExhausted because its unreliable. r=roc a=blocking2.0 2010-10-17 07:41:53 +13:00
Chris Pearce
4440b253f5 Backed out changeset 00382c4a8b22 a=backout 2010-10-13 20:10:37 +13:00
Chris Pearce
a1c760b32f Bug 603226 - Remove nsBuiltinDecoderStateMachine::mBufferExhausted because its unreliable. r=roc a=blocking2.0 2010-10-13 19:36:03 +13:00
Chris Pearce
3be22a437d Bug 598140 - Set media curentTime correctly after seek when sound is disabled. r=kinetik a=blocking2.0 2010-10-07 11:58:36 +13:00
Chris Pearce
f4d0aab15c Bug 584068 - Don't consider our canplaythrough status on live streams when moving out of buffering state. r=kinetik a=blocking2.0 2010-10-07 11:58:36 +13:00
f06159a21c Bug 598812 - Fix time attribute of audio available event. r=cpearce a=blocking2.0 2010-10-07 11:58:36 +13:00
Chris Pearce
f99c9bb880 Bug 598242 - Normalize WebM buffered TimeRanges. r=kinetik a=blocking2.0 2010-10-07 11:58:36 +13:00
Matthew Gregan
2945810e5b Bug 598217 - Share nsWebMBufferedState between cloned decoders. r=roc a=blocking2.0 2010-09-21 12:49:50 +12:00