Commit Graph

119 Commits

Author SHA1 Message Date
Robert O'Callahan
107e991d41 Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec 2011-11-25 15:06:20 +13:00
Matthew Gregan
17bd88794f Bug 695986 - Fix bug 669556 on Android. r=cpearce 2011-11-22 13:17:38 +13:00
Robert O'Callahan
ce03f4df28 Backing out part of bug 703379 to fix build failure of nsRawReader 2011-11-24 12:30:03 +13:00
Robert O'Callahan
4e4c205f88 Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec 2011-11-24 12:05:12 +13:00
Chris Pearce
1bbc5783b6 Bug 604682 - Remove unnecessary copy of audio data when there's no MozAudioAvailable event listener. r=smaug,kinetik 2011-11-22 13:34:21 +13:00
Chris Double
a371d71a30 Bug 691096 - Provide hard limit to number of media elements that can be decoded in parallel - r=cpearce 2011-11-08 14:38:17 +13:00
Marco Bonardo
f2af22bae9 Backout 12744c5b688d, edefcb820429 to investigate Android C1 permaorange. 2011-11-03 09:24:02 +01:00
Chris Double
7e7e34c109 Bug 691096 - Provide hard limit to number of media elements that can be decoded in parallel - r=cpearce 2011-11-03 14:58:54 +13:00
Matthew Gregan
71121e33a1 Bug 693095 - Fix audio stream position estimation for remoted streams. Also resurrect audio thread wait removed in bug 669556 when using remoted audio streams. r=cpearce 2011-10-19 18:29:08 +13:00
Matthew Gregan
611ee24e0f Bug 669556 - Calculate OS X sydneyaudio buffer sizes by time, and shrink buffers to 1000ms. Remove buffer refill wait from nsBuiltinDecoderStateMachine::AudioLoop as the buffer fullness estimation is inaccurate. r=cpearce 2011-10-03 15:14:32 +13:00
Matthew Gregan
8cc7c52480 Bug 690603 - Remove PR_TRUE/PR_FALSE from media code. r=doublec 2011-09-30 12:34:37 +13:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Matthew Gregan
53999dd2aa Bug 689432 - Disambiguate use of "samples" by introducing "frames" in a number of places. r=doublec 2011-09-27 16:31:18 +13:00
Fabrice Desré
35e9ea570b Bug 659188 - Android and media parts [r=blassey] [r=cpearce] 2011-09-26 17:25:41 -07:00
Matthew Gregan
905f99d7a6 Bug 682593 - Avoid possible null dereference during state machine shutdown. r=cpearce 2011-09-21 19:01:00 +12:00
Martin Richard
475bfe0350 Bug 646333 - Make video constants consistently const T. r=cpearce 2011-09-15 07:39:50 +12:00
Chris Double
40265da259 Bug 648595 - Part 1/2: Implement temporal dimension portion of Media Fragments URI specification for video/audio - r=cpearce 2011-08-25 11:42:23 +12:00
Matthew Gregan
9111aa3d4f Bug 679269 - Rename SoundData{,Value} to AudioData{,Value} and fix inconsistent use of "sound" vs "audio". r=doublec 2011-08-16 17:19:51 +12:00
Matthew Gregan
c6c9c58488 Bug 679261 - sa_stream_get_min_write should return a result in bytes, not frames. r=cpearce 2011-08-16 15:47:45 +12:00
Matthew Gregan
a13007e132 Bug 623444 - Remove unused non-blocking code from nsAudioStream. r=doublec 2011-08-08 12:51:04 +12:00
Chris Pearce
025c672640 Bug 665344 - Ensure minWriteSamples samples written before sleeping in AudioLoop drain. r=kinetik 2011-08-16 15:32:10 +12:00
Daniel Holbert
d424a4c1c2 Bug 678256: Fix init list warning for nsBuiltinDecoderStateMachine. r=cpearce 2011-08-11 15:19:56 -07:00
Chris Pearce
ff5676fec5 Bug 664341 - Specify media decoder's thread stack size. r=kinetik 2011-07-27 15:28:03 +12:00
Chris Pearce
49dc154b2d Bug 592833 - Don't hold decoder monitor while audio stream does sync dispatch to main thread (on Android). r=roc 2011-07-12 15:40:38 +12:00
Chris Pearce
b0b4d23d8a 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
a587b51664 Bug 592833 - Merge all media state machines into a single thread. r=roc 2011-07-12 15:39:34 +12:00
Chris Pearce
2822431e20 Bug 592833 - Run media state machine as a series of events. r=roc 2011-07-12 15:39:32 +12:00
Chris Pearce
90443aae50 Bug 592833 - Move audio stream management to audio thread. r=? 2011-07-12 15:39:30 +12:00
Chris Pearce
e715ec3491 Bug 592833 - Move seeking to the decode thread. r=roc 2011-07-12 15:39:25 +12:00
Chris Pearce
7c8ee47c06 Bug 592833 - Move metadata decoding to decode thread. r=roc 2011-07-12 15:39:23 +12:00
Chris Pearce
7d6e34b520 Bug 592833 - Split StartDecodeThreads() into StartDecodeThread() and StartAudioThread() for finer control. r=roc 2011-07-12 15:39:10 +12:00
Chris Pearce
680b99674b Bug 655648 - Update media readyState more often, exit decode thread when decode finishes. r=kinetik 2011-07-01 11:00:22 +12:00
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