Commit Graph

58 Commits

Author SHA1 Message Date
Chris Pearce
94901f979a Bug 592833 - Update comments for new video decoder thread model. r=roc 2011-07-12 15:39:39 +12:00
Chris Pearce
ea5c48904a Bug 592833 - Shutdown inactive media decode threads, don't start audio thread until needed. r=roc 2011-07-12 15:39:37 +12:00
Chris Pearce
f75f5e57e5 Bug 592833 - Merge all media state machines into a single thread. r=roc 2011-07-12 15:39:34 +12:00
Chris Pearce
09f21e3e39 Bug 592833 - Run media state machine as a series of events. r=roc 2011-07-12 15:39:32 +12:00
Chris Pearce
8505e98e72 Bug 592833 - Move audio stream management to audio thread. r=? 2011-07-12 15:39:30 +12:00
Chris Pearce
1e2942a0a5 Bug 592833 - Move seeking to the decode thread. r=roc 2011-07-12 15:39:25 +12:00
Chris Pearce
b6b4964da4 Bug 592833 - Move metadata decoding to decode thread. r=roc 2011-07-12 15:39:23 +12:00
Chris Pearce
41ca01723d Bug 592833 - Split StartDecodeThreads() into StartDecodeThread() and StartAudioThread() for finer control. r=roc 2011-07-12 15:39:10 +12:00
Chris Pearce
b364e365c4 Bug 661456 - Scale WebM video frames to display size. r=kinetik 2011-06-24 10:08:54 +12:00
Chris Pearce
6d6e37a982 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
c47b80f93b Bug 566779 - Clean up media start and end time calculation. r=doublec 2011-05-09 09:10:28 +12:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Chris Pearce
a259c20cba Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik 2011-04-14 10:12:23 +12:00
Yury
7aad392535 Bug 638807 - Data race on nsBuiltinDecoder::mFrameBufferLength; r=chris.double 2011-04-11 17:15:45 -04:00
Ehsan Akhgari
19700d3af2 Backout changeset c51a334e99d9 (bug 638807) because of crashtest orange 2011-04-10 02:01:36 -04:00
Yury
07d8571fef Bug 638807 - Data race on nsBuiltinDecoder::mFrameBufferLength; r=chris.double 2011-04-09 23:35:12 -04:00
Chris Double
bf27fe5198 Bug 639721 - Fix data race on nsBuiltinDecoderReader::mInfo - r=kinetik
--HG--
extra : rebase_source : 5e58af70c75f563ae7dd7d62e3be897a3c244e85
2011-03-24 16:53:03 +13:00
Chris Pearce
7e89e95619 Bug 693391 - Pin nsMediaStream while determining buffered ranges. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce
2f263be1cb Bug 628665 - Supress warnings in nsBuiltinDecoderStateMachine. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce
edfec66da5 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
a77b17534e Bug 628665 - Buffer media when low on undecoded data. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
c6a5fc5f37 Bug 628665 - Resurrect nsBuiltinDecoderStateMachine::HasLowDecodedData(). r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
c285d2e2af Bug 580531 - Implement HTMLMediaElement.mozPaintedFrames and mozFrameDelay. r=roc 2011-03-24 11:28:57 +13:00
Matthew Gregan
a2f5d89538 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
f6eec8c272 Bug 627139 - Report seek target as current time immediately after seeking. r=roc a=roc 2011-02-01 15:57:13 +13:00
Matthew Gregan
31cc4eb4f7 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
0dc06f3103 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
1cb5593661 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
757d8f1ec3 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
f5237f4e38 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
dd28fadfc9 Bug 599089 - Remote Audio to parent process. r=kinetik a=blocking-fennec
--HG--
extra : rebase_source : 8552e45188f1e62a56d5e93b551ec9fb0d4faaca
2010-11-16 20:14:19 -08:00
Chris Pearce
aeee50f925 Bug 603226 - Remove nsBuiltinDecoderStateMachine::mBufferExhausted because its unreliable. r=roc a=blocking2.0 2010-10-17 07:41:53 +13:00
Chris Pearce
8c36e03781 Bug 603226 - Backed out changeset f63595eb0733 a=backout 2010-10-17 10:05:21 +13:00
Chris Pearce
4804314db4 Bug 603226 - Remove nsBuiltinDecoderStateMachine::mBufferExhausted because its unreliable. r=roc a=blocking2.0 2010-10-17 07:41:53 +13:00
Chris Pearce
cbe8f49dcf Backed out changeset 00382c4a8b22 a=backout 2010-10-13 20:10:37 +13:00
Chris Pearce
fb575c66f9 Bug 603226 - Remove nsBuiltinDecoderStateMachine::mBufferExhausted because its unreliable. r=roc a=blocking2.0 2010-10-13 19:36:03 +13:00
Chris Pearce
9e4234dc37 Bug 598242 - Normalize WebM buffered TimeRanges. r=kinetik a=blocking2.0 2010-10-07 11:58:36 +13:00
Matthew Gregan
f3d96bd23a Bug 598217 - Share nsWebMBufferedState between cloned decoders. r=roc a=blocking2.0 2010-09-21 12:49:50 +12:00
Chris Pearce
5e2fd3c5ad Bug 589626 - Make video buffing logic consistent. r=kinetik a=blocking2.0 2010-09-14 16:24:47 -07:00
Chris Pearce
8449b054fc Bug 589626 - Refactor timestamp notation in nsBuiltinDecoderStateMachine. r=kinetik a=blocking2.0 2010-09-14 16:24:47 -07:00
Matthew Gregan
48fd3a8330 Bug 570904 - Implement buffered support for WebM. r=roc 2010-09-13 20:45:50 +12:00
Chris Pearce
a146561fe9 Bug 589626 - Backed out changeset 757b7a43aad0 a=backout 2010-09-11 14:08:12 +12:00
Chris Pearce
8441595dcc Bug 589626 - Refactor timestamp notation in nsBuiltinDecoderStateMachine. r=kinetik a=blocking2.0 2010-09-11 11:29:11 +12:00
Chris Pearce
b7a9c66fcf Backed out changeset 619459aa5005 a=backout 2010-09-06 16:53:39 +12:00
Chris Pearce
c673663a39 Bug 589626 - Make video buffing logic consistent. r=kinetik a=blocking2.0 2010-09-06 11:59:50 +12:00
David Humphrey
07de814ba1 bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad 2010-08-25 09:10:00 -04:00
Chris Pearce
b1b1746c37 Bug 589561 - Rename HTMLTimeRanges to TimeRanges, HTMLMediaError to MediaError. r=roc a=roc
--HG--
rename : content/html/content/src/nsHTMLMediaError.cpp => content/html/content/src/nsMediaError.cpp
rename : content/html/content/src/nsHTMLMediaError.h => content/html/content/src/nsMediaError.h
rename : content/html/content/src/nsHTMLTimeRanges.cpp => content/html/content/src/nsTimeRanges.cpp
rename : content/html/content/src/nsHTMLTimeRanges.h => content/html/content/src/nsTimeRanges.h
rename : dom/interfaces/html/nsIDOMHTMLMediaError.idl => dom/interfaces/html/nsIDOMMediaError.idl
rename : dom/interfaces/html/nsIDOMHTMLTimeRanges.idl => dom/interfaces/html/nsIDOMTimeRanges.idl
2010-08-25 20:43:00 +12:00
Ted Mielczarek
be942c946d Backed out changeset 1362f0ca86d2 (bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save) due to test failures. 2010-08-18 13:04:31 -04:00
David Humphrey
960122a5de bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad 2010-08-17 09:40:00 -04:00
Chris Pearce
114d346757 Bug 576539 - Inject silence when decoder encounters missing audio in WebM and Ogg media. r=kinetik a=blocking2.0 2010-08-13 14:28:15 +12:00