Commit Graph

48 Commits

Author SHA1 Message Date
Chris Double
bdd9e49c7b Bug 635649 - Refactor Wave backend to use content/media nsBuiltinDecoder framework - r=kinetik
commit c7e190d81b10e7425b53217352c126adfbb79c4a
Author: Chris Double <chris.double@double.co.nz>
Date:   Thu Mar 24 18:09:06 2011 +1300

    Fix
2011-03-30 18:37:42 +13:00
Alon Zakai
de7a98cad0 bug 634407 - Going to a canvas based tetris game will cause the content not to redraw r=cdouble a=blocking-fennec 2011-03-07 17:44:49 -08:00
Matthew Gregan
eb0a224fd6 Bug 633332 - Null check mElement in nsWaveDecoder::NotifyDownloadEnded. r=cpearce a=roc 2011-02-18 16:42:15 +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
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
Matthew Gregan
75bfeb7e0e Bug 621257 - Handle transition from buffering to seeking state correctly in Wave decoder. r=roc a=roc 2011-01-05 17:01:26 +13:00
Chris Pearce
51fd209943 Bug 611994 - Fire timeupdate based on time change, not timer. r=roc a=roc 2010-11-25 07:34:57 +13:00
Doug Turner
f738730989 Bug 599089 - Remote Audio to parent process. r=kinetik a=blocking-fennec 2010-11-16 20:14:19 -08:00
Matthew Gregan
bac831a30d Bug 569163 - Fix a race in nsWaveDecoder's ended state handling. r=cpearce a=roc 2010-11-15 14:32:36 +13:00
Matthew Gregan
68d3c7166e Backed out changeset c1351e1799b8 2010-11-15 12:49:37 +13:00
Matthew Gregan
13d69b3f51 Bug 569163 - Fix a race in nsWaveDecoder's ended state handling. r=cpearce a=roc 2010-11-15 11:41:22 +13:00
Chris Pearce
a53f1c4485 Bug 580876 - Ensure WAV playing events can fire when decode has finished but playback hasn't. r=kinetik a=roc 2010-11-05 13:44:33 +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
Chris Double
2932810d2b Bug 571822 - Fire timeupdate event less frequently than once per frame - r=kinetik a=blocking2.0 2010-09-10 17:49:26 +12:00
Chris Double
f59726b0d8 Bug 584615 - Make media progress events be 'simple' Events, not 'progress' Events - r=roc,cpearce,dolske,kinetik a=blocking2.0 2010-09-10 15:29:06 +12:00
Marco Bonardo
317e38a5c7 Backed out changeset 96b74fec2915 2010-09-11 11:17:11 +02:00
Chris Double
deb56f4775 Bug 584615 - Make media progress events be 'simple' Events, not 'progress' Events - r=roc,cpearce,dolske,kinetik a=blocking2.0 2010-09-10 15:29:06 +12:00
Chris Double
ad45522a76 Bug 588312 - Set video.currentTime to seek time when seek starts - r=kinetik a=blocking2.0 2010-09-10 14:48:36 +12:00
Chris Pearce
0027a22b17 Bug 485288 - Update media load algorithm. r=roc a=blocking2.0 2010-09-03 12:03:03 +12:00
David Humphrey
564bbb0dc7 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
183ddd0a78 Bug 589467 - Shutdown idle media state machine threads. r=kinetik a=sicking 2010-08-25 20:45:45 +12:00
Chris Pearce
d4833a7bce Bug 589561 - Rename HTMLTimeRanges to TimeRanges, HTMLMediaError to MediaError. r=roc a=roc 2010-08-25 20:43:00 +12:00
Ted Mielczarek
50f154528b 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
1135b30751 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
6ff2b8054d Replaces some \c\r with \n. a=bustage-fix 2010-08-18 14:17:50 +12:00
Chris Pearce
3276707356 Bug 462957 - Pin media stream while seeking. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
Chris Pearce
0d544b6855 Bug 462957 - WAV support for HTMLMediaElement.buffered. r=kinetik a=blocking2.0 2010-08-05 19:40:35 +12:00
Chris Pearce
34d8bc47f4 Bug 462957 - DOM implementation of HTMLMediaElement.buffered. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
Chris Pearce
8994459f1d Bug 543769 - Buffer non-autobuffer videos upon first playback to ensure smooth playback. r=roc a=blocking2.0 2010-07-23 10:48:32 +12:00
Daniel Holbert
81e8438e90 Bug 563849: Fix "possible loss of data" MSVC warnings in nsWaveDecoder.cpp. r=kinetik 2010-05-04 22:22:37 -07:00
Ben Newman
b4d3ccac07 Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Chris Pearce
9893e3f66d Bug 531340 - New Ogg video decoder. r=doublec sr=roc 2010-04-01 20:03:07 -07:00
Matthew Gregan
594acf564c Bug 525401 - Make ready state transitions initiated by the decode thread more reliable by including the new state in the event. Fixes an ABA problem where we could play through without ever moving beyond HAVE_CURRENT_DATA. r=chris.double 2010-03-15 12:46:38 +13:00
Mike Hommey
941d9bc0d6 Bug 550961. Fix license header typos. r=gerv 2010-03-15 14:44:37 +13:00
Robert O'Callahan
17714a3469 Bug 503989. Break MediaLoadListener reference cycle at shutdown. r=sicking,doublec 2010-02-24 11:14:14 -08:00
Matthew Gregan
bc9cb6b6d8 Bug 499874 - Move Wave decoder to ended state when seeking to end of media. r=roc 2009-10-20 15:48:03 +13:00
Robert O'Callahan
9ab29cdee1 Bug 519136. Clean up media-related logging. r=doublec 2009-09-30 07:32:44 +10:00
Robert O'Callahan
1b53da245b Bug 517818. Wave decoder should not look beyond the Wave data area to see if we have a 'next frame' to play. r=kinetik 2009-09-30 07:32:41 +10:00
Matthew Gregan
d0165075a7 Bug 481057 - Fire MEDIA_ERR_DECODE errors when a decoding error occurs. r=chris.double, sr=roc 2009-09-22 12:08:13 +12:00
Robert O'Callahan
9babf2125e Bug 513144. nsWaveDecoder::PlaybackEnded should call UpdateReadyStateForData to ensure that we enter HAVE_CURRENT_DATA ... otherwise it get into the ended state with HAVE_FUTURE_DATA or HAVE_ENOUGH_DATA, which is wrong. r=kinetik 2009-09-15 14:30:45 +12:00
Robert O'Callahan
714c7aa471 Bug 513144. Allow streams that are related by mozLoadFrom to share data loaded after the initial clone. r=doublec 2009-09-15 14:30:45 +12:00
Robert O'Callahan
f54a8d778c Bug 513144. Basic implementation of mozLoadFrom API. r=doublec 2009-09-15 14:30:44 +12:00
Robert O'Callahan
234e619fe5 Bug 513144. Hoist nsMediaStream creation up into nsHTMLMediaElement, out of the decoders. Pass the stream as the parameter to nsMediaDecoder::Load. r=doublec 2009-09-15 14:30:43 +12:00
Robert O'Callahan
55e5830d36 Bug 513144. Split static nsMediaStream::Open into static nsMediaStream::Create and nonstatic nsMediaStream::Open. Move call to NS_GetFinalChannelURI down into nsMediaStream::Create. r=doublec 2009-09-15 14:30:43 +12:00
Robert O'Callahan
3a829e5edc Bug 513144. Remove mURI from the decoders, and change nsMediaDecoder::GetCurrentURI to GetCurrentStream so nsHTMLMediaElement::GetCurrentSrc gets the URI directly from the stream. r=doublec 2009-09-15 14:28:08 +12:00
Robert O'Callahan
f45d5c865b Bug 513144. Move ownership of the Ogg decoder's nsMediaStream out from nsChannelReader to nsOggDecoder. Also remove unnecessary mNotifyOnShutdown flag from nsOggDecoder and nsWaveDecoder. Since Load can only be called once after Init, remove unnecessary initialization of variables in Load and move some code up from Load to Init in both backends to simplify Load. r=doublec 2009-09-11 13:44:21 +12:00
Matthew Gregan
ca7ba32ae3 Bug 497815 - Read Wave headers in small chunks to avoid unnecessary large allocations. r=roc 2009-09-07 15:28:26 +12:00
Robert O'Callahan
e70ed7c02b Bug 499880 - Restructure content/media directory. r+=doublec 2009-06-26 16:23:15 +12:00