Commit Graph

657 Commits

Author SHA1 Message Date
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
9dc00ae210 Bug 633332 - Null check mElement in nsWaveDecoder::NotifyDownloadEnded. r=cpearce a=roc 2011-02-18 16:42:15 +13:00
Chris Pearce
87d3601f97 Bug 627153 - Be less conservative when determining video readyState. r=kinetik a=roc 2011-02-21 10:21:40 +13:00
Doug Turner
ff1d41e7b6 Bug 631058 - Backing out changesets 0d43e33ce134 and 60d7b8a4c275. r=wes, a=backout-scary-stuff 2011-02-17 08:41:07 -08:00
Mats Palmgren
59d8eaa785 Bug 633164 - Zoomed ogg video renders at the wrong size until I move the mouse. r+a=roc 2011-02-17 17:12:17 +01:00
Wes Johnston
39a572652e Bug 631058 - Part 2 -Only decode Only decode metadata for preload=metadata. This has the fix ups that cpearce requires. r=cpearce, a=blocking-fennec 2011-02-15 20:31:08 -08:00
Doug Turner
15b16004ce Backed out changeset 0000b936e5c6 2011-02-15 20:31:00 -08:00
Wes Johnston
d04cf02a60 Bug 631058 - Part 2 -Only decode Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec 2011-02-15 16:54:47 -08:00
Wes Johnston
6979a59264 Bug 631058 - Set WebM decoder mDataOffset to zero. r=kinetik a=blocking-fennec 2011-02-15 16:54:47 -08:00
Wes Johnston
a97733eea4 Bug 631058 - Part 1 - Allow specifying default preload behavior through a pref. r=cpearce, a=blocking-fennec 2011-02-15 16:54:47 -08:00
Chris Pearce
800f4fd200 Bug 629618 - Correct Ogg seek bisection's backoff and termination. r=doublec a=roc 2011-02-16 11:08:31 +13:00
Matthew Gregan
a442ddf24b Bug 631953 - Check codec is initialized before using cached serial number. r=cpearce a=roc 2011-02-08 15:45:20 +13:00
Ms2ger
2833e49ecc Bug 620359 - Reorder members in nsAudioStreamRemote::nsAudioStreamRemote() constructor; r=kinetik a=dbaron 2011-02-15 13:34:38 -08:00
Matthew Gregan
9e97be122e Bug 633051 - Remove LOAD_BACKGROUND flag from media channel when load completes. r=roc a=roc 2011-02-15 12:21:32 +13:00
Doug Turner
cee16d2b7f Backed ou Johnston – Bug 631058 - Part 2 - Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec
changeset a8d213604ca6
2011-02-14 21:25:06 -08:00
Wes Johnston
1f8d9514ad Bug 631058 - Part 2 - Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec
--HG--
extra : rebase_source : 743cb30aea1bd8cb6e9a189b9142c5ef8abce964
2011-02-14 17:01:03 -08: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
Chris Double
b32f5cc9a4 Bug 630461 - Fix signed/unsigned comparison compiler warnings in nsBuiltinDecoderStateMachine - r=cpearce a=roc
--HG--
extra : rebase_source : 5e9423a0749e9cd9e4cc87aa5c8bf0b87710d434
2011-02-02 14:35:47 +13:00
Chris Pearce
7866b5b1cd Bug 607838 - Don't drain audio stream when it's paused, it won't finish. r=kinetik a=blocking2.0:final
--HG--
extra : rebase_source : b7faedb35343ca22d35e40e77bd5c63175ad608a
2011-02-03 12:44:40 +13:00
Chris Double
c54ff75ce8 Bug 607838 - Allow audio drains to be interrupted - r=cpearce a=blocking2.0:final
--HG--
extra : rebase_source : 664d1b27f71daf1db7fc4ae165174f6668273ad7
2011-02-02 14:31:53 +13:00
Justin Wood
1e2eba6da7 Bug 598252 - Disable test_play_twice.html on SeaMonkey. r=cpearce, a=DONTBUILD
[SeaMonkey Linux] Mochitest-1/5 fails test_play_twice.html | Expect at least one playing event (x2 with Ogg files)
2011-01-29 23:36:19 -05:00
Matthew Gregan
a98ed26248 Bug 624572 - Abort in content process receiving PAudio:SampleOffsetUpdate r=dougt a=blocking-fennec
--HG--
extra : rebase_source : fcc520e461b285763312fc5e977bb187c8f28b7f
2011-01-28 21:40:23 -08:00
Chris Pearce
cba19c676e Bug 626979 - Handle WebM frame size changes. r=kinetik a=blocking2.0
--HG--
extra : rebase_source : f8f4abe0b2249d964d6215562ff050046729b639
2011-01-28 19:36:03 +13:00
Chris Pearce
f0aaf70d6b 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
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
Matthew Gregan
bfad01f32f Bug 622517 - Only use remoted audio streams on Android. r=dougt a=dbaron 2011-01-10 12:47:43 +13:00
Matthew Gregan
4004024181 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
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
88768d9890 Bug 620326 - Add code to MediaTestManager to enable looping on a media mochitest to help fixing random orange. r=test-change a=test-change. 2011-01-13 14:06:16 +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
Robert O'Callahan
8572e19e7a Bug 621430. Lazily create stream writer thread so we don't create one when using local audio. Also, shut down the stream writer thread when the audio stream dies. r=dougt,a=blocker 2011-01-04 16:55:32 +13:00
Chris Pearce
b1b833ee64 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
Serge Gautherie
3cf214f49f Bug 608634 - [mochi-1] Intermittent "test_error_in_video_document.html | Must have error set to MEDIA_ERR_DECODE"; (Dv1) Improve code and checks, somewhat.
r=chris a=(test only).
2010-12-17 03:22:28 +01:00
Matthew Gregan
fc868e4d64 Bug 584259 - Add support for StereoMode element. r=roc a=roc 2010-11-03 12:43:29 +13:00
Matthew Gregan
0e9083fe01 Bug 605457 - Remove concurrent use of Ogg stream hash table. r=cpearce a=roc 2010-12-17 14:39:01 +13:00
Jesse Ruderman
6d6a0beac9 Bug 576612 - add crashtest 2010-12-12 12:54:27 -08:00
timeless@mozdev.org
65c73f6c7a Bug 615838 comparison between signed and unsigned integer expressions in nsMediaCache::FlushInternal. r=roc a=roc 2010-12-03 14:08:49 +13:00
Matthew Gregan
aca5c745d4 Bug 612798 - Remoting Audio - Thread per stream to avoid problems with blocking drain/write calls. r=dougt. a=blocking-fennec
--HG--
extra : rebase_source : a2efdcf562d3da08e9676fe174d0cdc3e317fa82
2010-11-30 18:37:32 +13:00
Matthew Gregan
74c9d71285 Bug 614160 - Fix remote audio ownership and avoid sending IPCs when actor is being destroyed. r=dougt a=blocking-fennec
--HG--
extra : rebase_source : 0fe7883f97fb4f014b9f39ced902bc96b0eebc31
2010-11-26 17:13:54 +13:00
Chris Pearce
08dcd8dbc0 Bug 578536 - Ensure WebMReader properly tags its decoded samples with file offsets. r=doublec a=blocking2.0 2010-11-29 09:06:38 +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
4707a1b209 Backing out 24aed997dbcd
Matthew Gregan – Bug 614160 - Fix remote audio ownership and avoid sending IPCs when actor is being destroyed. r=dougt a=blocking=fennec
It caused windows builds to go red. qq.
a=me
2010-11-27 21:40:43 -08:00
Matthew Gregan
c09fcbac77 Bug 614160 - Fix remote audio ownership and avoid sending IPCs when actor is being destroyed. r=dougt a=blocking=fennec 2010-11-26 17:13:54 +13:00
Chris Pearce
0e486c9c7c Bug 611994 - Fire timeupdate based on time change, not timer. r=roc a=roc 2010-11-25 07:34:57 +13:00
Doug Turner
90d1b10e31 [Bug 613982] Crash [@ libdvm.so@0x48c42 ] in sa_stream_write when closing a tab playing audio. r=kinetik. a=blocking-fennec
--HG--
extra : rebase_source : 825c83d3e804d9786b09a74e6ba216d03aa6d896
2010-11-22 14:08:49 -08:00
Daniel Holbert
34edc14760 Bug 613289: Remove unused variable 'result' from nsAudioStream::AllocateStream. r+a=dougt DONTBUILD 2010-11-19 08:56:23 -08: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
Matthew Gregan
32a39ce5e9 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
bfa12421d5 Backed out changeset c1351e1799b8 2010-11-15 12:49:37 +13:00
Matthew Gregan
64e15bea7f Bug 569163 - Fix a race in nsWaveDecoder's ended state handling. r=cpearce a=roc 2010-11-15 11:41:22 +13:00
Chris Double
c8b0bb098e Bug 577843 - Scale videos at YCbCr conversion time - r=roc a=blocking2.0
--HG--
extra : rebase_source : ae011843fdd812dbeab7e5de0bf3b6029cccb3e5
2010-10-26 16:11:13 +13:00
Ehsan Akhgari
bb6861f7b5 Bug 601881 - video and audio should never play automatically in editor; r=bzbarsky,cpearce a=bsmedberg
--HG--
rename : content/media/test/test_play_events.html => content/media/test/test_autoplay_contentEditable.html
2010-10-14 20:13:29 -04:00
Chris Pearce
50b0ea20e8 Bug 596947 - Add logging to test_timeupdate_seek to help debug orange. r=test-change a=test-change. 2010-11-10 14:45:43 +13:00
Chris Pearce
0195699a42 Bug 572579 - Correct file perms for media cache temp subdir and file. r=roc a=blocking2.0 2010-10-26 14:21:16 +13:00
Chris Pearce
2a501c4276 Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0 2010-10-17 08:58:20 +13:00
Chris Pearce
a09af5d84d Bug 589039 - Don't use uninited hashtable in Ogg index decoder. r=doublec a=bsmedberg 2010-11-08 19:43:24 +13:00
Mike Hommey
974d30cc03 Bug 577653 - Allow to build against system libvpx. r=khuey a=roc 2010-11-05 18:24:28 +01:00
Chris Pearce
332c2f6839 Bug 608630 - Make media simple events not bubble. r=roc a=blocking2.0 2010-11-05 13:44:33 +13:00
Chris Pearce
46fa35ee53 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
Chris Pearce
645fabdc56 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
Justin Wood
d5c1ce8fbd Additional debugging info for Bug 608634. rs+=cpearce, a=NPOTB
(Bug 608634 - [SeaMonkey] [mochi-1] test_error_in_video_document.html failing)
2010-11-01 23:28:01 -04:00
Justin Wood
55862538df More bustage fix from mochi not having info(). a=bustage 2010-10-31 23:19:37 -04:00
Justin Wood
45be115a63 Add debugging info for Bug 608634. rs+=cpearce over IRC, a=NPOTB
(Bug 608634 - [SeaMonkey] [mochi-1] test_error_in_video_document.html failing)

--HG--
extra : rebase_source : dd5c4049e24ce79e266e2b28038c36525a6fd52b
2010-10-31 22:39:52 -04:00
Chris Pearce
4cc3f8fa4f Backed out changeset 22b6b7465458 2010-10-26 17:43:10 +13:00
Chris Pearce
5581ad0abb Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0 2010-10-17 08:58:20 +13:00
Chris Pearce
349fa6b6ec Bug 503623 - Add debug logging to test_seek to help diagnose random failure. r=test-fix a=test-fix 2010-10-26 10:50:02 +13:00
Timothy B. Terriberry
8dd1e23dc0 Bug 511348 - Integrate Tremor for Vorbis decoding for non/slow-FPU platforms. r=chris.double a=blocking-fennec
--HG--
extra : rebase_source : 807703f9008d0e6c3829370a8a84e0914e2ccb29
2010-10-18 19:55:45 -07:00
Matthew Gregan
f35bfec886 Bug 603912 - Use RAII wrappers to manage nestegg_packet ownership. r=chris.double a=blocking2.0 2010-10-14 14:50:20 +13:00
Chris Pearce
222ab567f3 Bug 604067 - Test invalid video in iframe gets error state correctly. a=test 2010-10-17 08:58:20 +13:00
Chris Pearce
7070c1834b 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
a94e3056fc Bug 602072 - Ensure media play() overrides preload='none'. r=roc a=blocking2.0 2010-10-17 07:41:53 +13: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
Ehsan Akhgari
2387eabfcc Bug 572243 - Media cache should be cleared when leaving private browsing mode; r=bzbarsky a=blocking-betaN+ 2010-09-28 20:02:08 -04:00
Robert O'Callahan
e6023b9a3d Bug 584238 - Add an API to clear the media cache; r=kinetik a=blocking-betaN+ 2010-10-13 10:14:08 -04: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
L. David Baron
1f3fa6c875 Change checkComplete in test_referer.html to check whether all tests are complete, rather than just the last. (Bug 600458) r=doublec a=test-fix 2010-10-07 12:35:59 +13:00
Chris Pearce
4fb016a01e 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
442cac0140 Bug 600455 - Fix index in indexed ogg file. r=test-fix 2010-10-07 11:58:36 +13:00
Chris Pearce
43d505f1f4 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
async.processingjs@yahoo.com
23de2accd2 Bug 598812 - Fix time attribute of audio available event. r=cpearce a=blocking2.0 2010-10-07 11:58:36 +13:00
Chris Pearce
903c5bab83 Bug 505158 - Handle invalid media in video element's source children. r=roc a=blocking2.0 2010-10-07 11:58:36 +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
Jonas Sicking
bdf59c33ee Bug 597301: Update CORS to latest spec. r=jst a=blocker 2010-10-04 17:41:07 -07:00
Chris Double
bcc17142af Bug 584480 - Send Referer header with media requests - r=roc a=blocking2.0 2010-09-17 05:36:23 +12:00
Chris Double
17036671f9 Bug 557479 - Auto manage VideoData and SoundData objects. r=cpearce a=blocking2.0 2010-09-14 16:24:47 -07:00
Chris Pearce
2fd7f9bd66 Bug 589626 - Update media readystate when crossing HAVE_FUTURE/HAVE_ENOUGH_DATA audio boundary. r=roc a=blocking2.0 2010-09-14 16:24:47 -07: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
3367b0ec43 Bustage fix for bug 570904. a=bustage-fix 2010-09-14 20:23:33 +12:00
Chris Double
f66fdd1a99 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
9c0d8b2cee 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
Matthew Gregan
c944fb3919 Bug 596111 - Don't assume first WebM track is video. Seek using mVideoTrack (or mAudioTrack if there's no video). r=doublec 2010-09-14 13:46:48 +12:00
Matthew Gregan
48fd3a8330 Bug 570904 - Implement buffered support for WebM. r=roc 2010-09-13 20:45:50 +12:00
Robert Sayre
4659902f34 jaegermonkey. what. a=arewefastyet 2010-09-11 15:06:33 -04:00
Chris Pearce
161faa4b9d Bug 580876 - Add debugging logging to figure out if we've got a type error a=test-fix 2010-09-09 11:58:18 +12:00