Граф коммитов

664 Коммитов

Автор SHA1 Сообщение Дата
Matthew Gregan 432a24cf03 Bustage fix for bug 570904. a=bustage-fix 2010-09-14 20:23:33 +12:00
Chris Double 9ec624665f 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 e2aadf356c 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 ce68ae8b3a 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 248148a9a1 Bug 570904 - Implement buffered support for WebM. r=roc 2010-09-13 20:45:50 +12:00
Robert Sayre 411ce23490 jaegermonkey. what. a=arewefastyet 2010-09-11 15:06:33 -04:00
Chris Pearce 835de3b404 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
Chris Pearce aae12cc942 Bug 589626 - Commit merge of backout. a=backout 2010-09-06 16:54:16 +12:00
Chris Pearce 99178d54f8 Backed out changeset 619459aa5005 a=backout 2010-09-06 16:53:39 +12:00
Chris Pearce ebd00dd800 Bug 589626 merge backout. a=backout 2010-09-06 16:53:03 +12:00
Chris Pearce 74f592d82c Backed out changeset 528a97f6bc3b a=backout 2010-09-06 16:52:22 +12:00
Chris Pearce 944865119a Bug 578804 - Defer media volume to the audio thread. r=kinetik a=blocking2.0 2010-09-06 14:14:50 +12:00
Chris Pearce 2e60951b23 Bug 593528 - Ensure audioavailable frame buffer memory is always freed. r=kinetik a=blocking2.0 2010-09-06 14:14:50 +12:00
Chris Pearce 136c04c1b9 Bug 589626 - Make video buffing logic consistent. r=kinetik a=blocking2.0 2010-09-06 14:14:43 +12:00
Chris Pearce cb12c24b5c Bug 589626 - Make video buffing logic consistent. r=kinetik a=blocking2.0 2010-09-06 11:59:50 +12:00
Marco Bonardo 78733cd6a7 Backed out changeset 96b74fec2915 2010-09-11 11:17:11 +02:00
Chris Double cf1e0c153c 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 e53dd0a30f 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 7293dfc03b Bug 589626 - Backed out changeset 757b7a43aad0 a=backout 2010-09-11 14:08:12 +12:00
Chris Pearce 9d206a280d Bug 589626 - Refactor timestamp notation in nsBuiltinDecoderStateMachine. r=kinetik a=blocking2.0 2010-09-11 11:29:11 +12:00
Chris Pearce 800f6b1cab Bug 593074 - Prevent multiple test finish from causing errors. a=test-fix 2010-09-03 12:03:03 +12:00
Chris Pearce 92046af63f Bug 485288 - Ensure video context menu doesn't show when video's source children don't contain a resource. r=dolske a=blocking2.0 2010-09-03 12:03:03 +12:00
Chris Pearce 4b32f2905e Bug 485288 - Update media load algorithm. r=roc a=blocking2.0 2010-09-03 12:03:03 +12:00
Dan Witte 468ea2db4d Merge e10s -> m-c. 2010-08-30 15:35:24 -07:00
Dan Witte 03a104a7e0 Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
Chris Pearce a2113576fd Bug 586924 - Disable test_progress's often failing test. a=test-fix 2010-08-30 15:19:53 +12:00
Chris Pearce a4155da782 Bug 591847 - Don't test audio write API when the audio hardware is disabled. a=test-fix 2010-08-30 15:19:48 +12:00
Chris Pearce 650d34cb97 Bug 557432 - Reduce parallelism of media mochitests. r=test-fix a=roc 2010-08-27 14:11:46 +12:00
David Humphrey 65684751e0 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 555d738dd1 Bug 589467 - Shutdown idle media state machine threads. r=kinetik a=sicking 2010-08-25 20:45:45 +12:00
Matthew Gregan 20870e7489 Bug 589071 - Avoid shutting down nsAudioStream when another thread may be using it. r=doublec a=roc 2010-08-24 14:06:14 +12:00
Chris Pearce a03d9258fb 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
Dan Witte f834c3dbbb Merge. 2010-08-23 17:30:33 -07:00
Dan Witte baac82f166 Merge. 2010-08-21 13:51:54 -07:00
Dan Witte 78bac8db23 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
Matthew Gregan eef045ce06 Bug 589069 - Take decoder lock earlier in MetadataLoaded to protect mDecoderPosition access. r=doublec, a=roc 2010-08-23 14:31:14 +12:00
Matthew Gregan de0c77006b Bug 589048 - Destroy vpx_codec_ctx when destroying nsWebMReader. r=doublec, a=roc 2010-08-23 14:50:43 +12:00
Karl Tomlinson 642b5068d4 backout dbbb9575aae1 due to build issues in some configurations b=577743 2010-08-23 16:27:49 +12:00
Chris Double 2dd0780ddc Bug 577743 - Scale videos at YCbCr to RGB conversion time - r=roc a=blocking 2010-08-23 13:47:33 +12:00
Phil Ringnalda d6f5f38246 Bug 567954 - disable test_mixed_principals.html for constant orange, a=test-only
--HG--
extra : rebase_source : d94eea2b4b539db58be101b15774171ce5a85f66
2010-08-20 18:46:19 -07:00
Chris Pearce 6c16bbbc0f Bug 548523 - Disable test_preload_actions.html case 9 until bug 568402 is fixed. a=test-fix 2010-08-20 10:50:37 +12:00
Rich Dougherty ext:(%2C%20Chris%20Pearce%20%3Cchris%40pearce.org.nz%3E) dd63c6fd60 Bug 548523 - Replace HTMLMediaElement.autobuffer attribute with 'preload'. r=roc a=blocking2.0
--HG--
rename : content/media/test/test_autobuffer.html => content/media/test/test_preload_attribute.html
rename : content/media/test/test_autobuffer2.html => content/media/test/test_preload_suspend.html
2010-08-20 10:50:37 +12:00
Chris Pearce a53d730976 Bug 519897 - Supported indexed Ogg files. r=doublec 2010-08-20 10:50:37 +12:00
Ted Mielczarek 5b7bfea22d 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 28842f58a8 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 5a1aacf42f Replaces some \c\r with \n. a=bustage-fix 2010-08-18 14:17:50 +12:00
Chris Pearce e424bea3a6 Backed out changeset 7eee00899270 2010-08-18 13:48:34 +12:00
Chris Pearce d249d4c7a5 Bug 519897 - Supported indexed Ogg files. r=doublec a=roc 2010-08-18 10:49:14 +12:00
Markus Stange 616d2696c9 Bug 506826 - Invalidate -moz-element rendering observers when necessary. r=roc 2010-08-13 15:36:13 +02:00
Matthew Gregan 2a7633fa12 Bug 585864 - Increase media cache block size from 4kB to 32kB. r=roc a=roc 2010-08-13 12:41:47 +12:00
Matthew Gregan 9b6e345d94 Bug 586535 - Reduce delay in volume changes on OS X by using sydneyaudio volume control. r=doublec a=blocking2.0 2010-08-12 13:52:36 +12:00
Chris Pearce 1bbe595467 Bug 576539 - Only reset playback when seeking to a new position. r=kinetik a=blocking2.0 2010-08-13 14:28:15 +12:00
Chris Pearce 01fe366e08 Bug 576539 - Factor out decoding to target time after seek, to enable seeking into WebM regions with no audio samples. r=kinetik a=blocking2.0 2010-08-13 14:28:15 +12:00
Chris Pearce e7e35c0775 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
Chris Pearce 5618a509eb Bug 576539 - Move integer overflow code in video decoders into VideoUtils.cpp/h. r=kinetik a=blocking2.0 2010-08-13 14:28:15 +12:00
Matthew Gregan a5152a8ffe Bug 569301 - Add on* event handler property support for media events. r=smaug 2010-08-02 17:53:45 +12:00
Matthew Gregan 4fa609dc19 Bug 580982 - Remove workarounds for old YouTube WebM encodings. Don't treat "matroska" doctype as valid WebM file. r=doublec
--HG--
rename : media/libnestegg/include/_stdint.h => media/libnestegg/include/nestegg-stdint.h
2010-08-05 15:49:27 +12:00
Chris Pearce eab85de1d5 Bug 462957 - HTMLTimeRanges out of bounds check should not be off by 1. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
Chris Pearce 1c34a45d4c Bug 462957 - Stubs for buffered for WebM and raw video. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
Chris Pearce 862c53e50f Bug 462957 - Test case for HTMLMediaElement.buffered. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
Chris Pearce 3030640171 Bug 462957 - Pin media stream while seeking. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
Chris Pearce ada6dee194 Bug 462957 - Ogg support for HTMLMediaElement.buffered. r=doublec a=blocking2.0 2010-08-05 19:40:35 +12:00
Chris Pearce e16ce17739 Bug 462957 - WAV support for HTMLMediaElement.buffered. r=kinetik a=blocking2.0 2010-08-05 19:40:35 +12:00
Chris Pearce ad1a4a7399 Bug 462957 - DOM implementation of HTMLMediaElement.buffered. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
Bjarne 06924ec766 Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Chris Double aacc9dd4d7 Bug 489071 - Send correct Accept header when requesting <video> and <audio> resources - r=roc
--HG--
extra : rebase_source : fefb3792e2c69919fb7fcb87ef04df80f2766364
2010-07-29 16:58:07 +12:00
Kyle Huey 3f87f708cd Bug 573050: Properly initialize variables to avoid mallocing on bad data in the raw decoder. r=doublec 2010-07-26 12:36:20 -07:00
Kyle Huey 1f722c7f09 Bug 508082: Implement a raw video decoder. Based on an earlier patch by Brad Lassey. r=doublec 2010-07-26 12:35:16 -07:00
Chris Pearce 73f6bf6785 Bug 534571 - Enable reloads from audio source child to work. r=roc a=blocking2.0 2010-07-26 10:45:18 +12:00
Chris Pearce 508855c9e4 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
Matthew Gregan 3a1b1e0e8f Bug 579812. Recompute frame end time when recomputing frame start time in DecodeVideoFrame. r=doublec 2010-07-20 13:29:30 +12:00
Matthew Gregan 808eb01874 Bug 577871. Enable more WebM tests. r=doublec 2010-07-20 13:29:28 +12:00
Robert O'Callahan 4bb0956dbf Bug 567805. Call UpdatePlaybackRate whenever duration is set. r=doublec 2010-07-20 13:29:27 +12:00
Robert O'Callahan 8d7175860b Bug 564991. Part 13: Optimize invalidation to avoid repainting ThebesLayer contents sometimes. r=mats,sr=dbaron 2010-07-16 09:07:53 +12:00
timeless@mozdev.org ded2264049 Bug 577894 nsOggReader::SeekBisection doesn't need old_offset_end/old_offset_start
r=doublec

--HG--
extra : rebase_source : 27fd73730b78e21a154873536dae97fc81c8bf5b
2010-07-11 14:08:36 +03:00
timeless@mozdev.org 2ac50a3f91 Bug 569470 useless casts in VideoData::Create
r=cpearce

--HG--
extra : rebase_source : 4778ca5fea10adea2b9810dc95b267ec7f8a06c5
2010-06-02 10:03:10 +03:00
timeless@mozdev.org fa5099361d Bug 565322 deadcode in nsOggReader::FindEndTime if !codecState
r=cpearce

--HG--
extra : rebase_source : d386c3e6d9524a86a7c4fe420c756e9352a48330
2010-05-25 17:34:09 +03:00
Matthew Gregan b0d973dff4 Bug 572299 - Stuttering audio playback with some Vorbis files (ffmpeg muxed). r=cpearce 2010-06-22 02:02:02 +02:00
Matthew Gregan 9e5b68f208 Bug 573405 - Check Theora frame sizes before initializing decoder. Also, check frame region size as well as picture region size. r=roc 2010-06-21 12:05:41 +12:00
Kyle Huey 3636d58acc Backed out changeset f54e6386c113
--HG--
extra : rebase_source : 367bf92e0875df1663e79bd6b968cddd677eeb1c
2010-06-19 13:19:25 -07:00
Kyle Huey 2b12e3a551 Bug 508082: Implement a raw video decoder. r=doublec
--HG--
extra : rebase_source : 2ffc36ceb9cb8407531efa6e7b1f0548e81c170c
2010-06-17 17:36:57 -07:00
Matthew Gregan 03d5a68268 Bug 572515 - Crash in [@ nsMediaCacheStream::~nsMediaCacheStream()] if nsMediaCache fails to init. r=roc 2010-06-17 21:46:28 +02:00
Matthew Gregan 1d7b7b5628 Bug 572235 - Increase default media cache size from 50MB to 500MB. r=roc 2010-06-16 11:12:38 +12:00
Matthew Gregan 43a3106de1 Bug 571208 - Fix crash in nestegg_free_packet. Only push non-NULL packets into packet queue. r=chris.double 2010-06-11 10:59:15 +12:00
Matthew Gregan 15491e139f Bug 571816 - Notify video buffering logic of WebM file reads. r=doublec 2010-06-16 09:56:28 +12:00
Chris Pearce 0285c536b7 Bug 571442 - nsBuiltinDecoderReader::GetBufferedBytes() operator precedence fix. r=double 2010-06-16 09:56:25 +12:00
Matthew Gregan 2014d3a85a Bug 568431 - Remove the requirement for mCallbackPeriod from the generic media backend. r=doublec 2010-05-31 16:02:00 +12:00
Matthew Gregan 01173f41f0 Bug 568162 - More accurate frame end time after seeking for WebM. r=cpearce 2010-06-10 15:46:58 +12:00
Matthew Gregan 84b5ee881c Bug 569187 - Ensure mAudioEndTime is not used uninitialized. r=doublec 2010-06-10 15:46:58 +12:00
Jesse Ruderman bff9ad37a8 Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
Chris Double 8a4d461480 Bug 566245 - Add WebM test file for content/media tests. r=kinetik 2010-06-09 11:31:27 +12:00
Chris Double ffe636530a Bug 566245 - WebM/VP8 decoder backend. r=kinetik 2010-06-09 11:31:27 +12:00
Chris Double 00d19451fb Bug 566245 - HTMLMediaElement.canPlayType support for WebM. r=roc 2010-06-09 11:31:27 +12:00
Chris Pearce 57cd01e84f Bug 564720 - Refactor media tests to be backend independent were possible. r=roc
--HG--
rename : content/media/test/test_play.html => content/media/test/test_play_events.html
rename : content/media/test/test_progress2.html => content/media/test/test_progress.html
rename : content/media/test/test_onloadedmetadata.html => content/media/test/test_replay_metadata.html
rename : content/media/test/test_wav_trunc_seek.html => content/media/test/test_seek_out_of_range.html
rename : content/media/test/test_bug495319.html => content/media/test/test_timeupdate_small_files.html
rename : content/media/test/test_bug486646.html => content/media/test/test_video_to_canvas.html
2010-05-31 10:02:06 +12:00
Jesse Ruderman 5b1de64740 Temporarily turn this assertion into a warning because of frequent random orange. Bug 569108 covers turning it back into an assertion. 2010-05-29 21:51:12 -07:00
Chris Double 101657c404 Bug 567056. Rename mAspectRatio to mPixelAspectRatio. r=kinetik 2010-05-24 09:36:10 +12:00
Chris Double 518387e5ee Bug 566501 - Remove unnecessary seek from the video decoder base class. r=cpearce 2010-05-21 09:13:01 +12:00
Chris Double 2eccec0d3c Bug 566498 - Move duration calculation into the video decoder base class. r=cpearce 2010-05-21 09:13:01 +12:00
Chris Double 82791905be Bug 566241 - Decode audio when keyframe skipping even if we've got ample audio. r=cpearce 2010-05-21 09:13:01 +12:00
L. David Baron 5ae32d9fa4 The assertion on 466607-1.html was also seen on Linux, so just mark all the bug 564603 assertions as cross-platform. (Bug 472557) 2010-05-20 07:44:24 -07:00
Rich Dougherty 89c575db18 Bug 557982. Use Image objects in the video frame queue so we can avoid making an extra copy as we put frames into the queue. r=kinetik 2010-05-19 15:04:33 +12:00
L. David Baron 06095732b1 Add another known assertion annotation in the manifest. (Bug 472557) 2010-05-17 21:00:36 -07:00
L. David Baron 8570a2ccd4 Add additional annotation for a random assertion on a crashtest. (Bug 472557) 2010-05-13 19:36:48 -07:00
Michael Kohler c00ff9684a Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Chris Pearce 6b1acd33ba Bug 562840 - Fix audio buffering logic to prevent over eager frame dropping on load. r=kinetik 2010-05-13 12:59:42 +12:00
L. David Baron 1463eb904d Adjust assertion annotations in crashtest manifest. (Bug 472557) On CLOSED TREE to force another round of builds and see if the network problems are better. 2010-05-08 07:48:52 -07:00
L. David Baron e00d9fd996 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Chris Double 9145874c60 Bug 563825 - Factor out non-Ogg specific parts of nsOggPlayStateMachine.cpp Part 2 - r=cpearce sr=roc
--HG--
rename : content/media/ogg/nsOggReader.cpp => content/media/nsBuiltinDecoderReader.cpp
rename : content/media/ogg/nsOggReader.h => content/media/nsBuiltinDecoderReader.h
rename : content/media/ogg/nsOggPlayStateMachine.cpp => content/media/nsBuiltinDecoderStateMachine.cpp
rename : content/media/ogg/nsOggPlayStateMachine.h => content/media/nsBuiltinDecoderStateMachine.h
extra : rebase_source : ca2b9dced11a077b4eb0d5889cd8a0ff25a4b31f
2010-05-06 14:31:02 +12:00
Chris Double 77250a8eb2 Bug 563825 - Factor out non-Ogg specific parts of nsOggPlayStateMachine.cpp Part 1 - r=cpearce sr=roc
--HG--
rename : content/media/ogg/nsOggReader.cpp => content/media/nsBuiltinDecoderReader.cpp
rename : content/media/ogg/nsOggReader.h => content/media/nsBuiltinDecoderReader.h
rename : content/media/ogg/nsOggPlayStateMachine.cpp => content/media/nsBuiltinDecoderStateMachine.cpp
rename : content/media/ogg/nsOggPlayStateMachine.h => content/media/nsBuiltinDecoderStateMachine.h
extra : rebase_source : a5726df63eda9c240db016aaf4e6a92d876fdb68
2010-05-06 14:30:34 +12:00
Daniel Holbert d65eaa7ad8 Bug 563849: Fix "possible loss of data" MSVC warnings in nsWaveDecoder.cpp. r=kinetik 2010-05-04 22:22:37 -07:00
timeless@mozdev.org 17d3c187ed Bug 562508 - Submitted comparison between signed and unsigned integer expressions in nsOggPlayStateMachine::Run(). r=doublec 2010-04-30 15:04:12 +12:00
timeless@mozdev.org dccba69629 Bug 562585 - AllFrameTimesIncrease defined but not used. r=doublec 2010-04-30 15:03:38 +12:00
Chris Pearce 59037fa6fb Bug 556455 - Remove liboggz, liboggplay, libfishsound from video decoder. r=doublec 2010-04-27 20:53:48 +12:00
Chris Pearce 0f8dbb7df1 Bug 556893 - Make playback time remaining accurate in media readyState transition calculation. r=doublec 2010-04-27 20:53:45 +12:00
Chris Pearce 306972c361 Bug 531340 - Add NS_STACK_CLASS static analysis keyword to video decoder's MonitorAutoExit object. r=roc 2010-04-27 20:53:45 +12:00
Chris Pearce 7908588955 Bug 557426 - Only stop Ogg decode to buffer when we're running out of decoded data. r=doublec 2010-04-27 20:53:44 +12:00
Chris Double 4d515f48f6 Bug 560708 - Factor non-Ogg specific logic into decoder base class. r=cpearce sr=roc 2010-04-27 20:53:44 +12:00
Chris Double 7f44b8cbd8 Bug 560708 - Rename nsOggDecoder to nsBuiltInDecoder. r=cpearce sr=roc
--HG--
rename : content/media/ogg/nsOggHacks.h => content/media/VideoUtils.h
rename : content/media/ogg/nsOggDecoder.cpp => content/media/nsBuiltinDecoder.cpp
rename : content/media/ogg/nsOggDecoder.h => content/media/nsBuiltinDecoder.h
2010-04-27 20:53:44 +12:00
Ben Newman a2d75cb968 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
Ben Newman 5149e63e78 Eliminate duplicate code by combining nsNonOwningRunnableMethod with nsRunnableMethod (part 1/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 10:22:04 -07:00
Chris Double 463c21eb69 Bug 560806 - No duration or seeking on Ogg video URL's that redirect - r=roc (CLOSED TREE) 2010-04-22 12:32:52 +12:00
Chris Double 37bf7a600b Bug 551277 - Replace liboggplay YUV to RGB color conversion code - r=roc 2010-04-19 13:17:06 +12:00
Chris Pearce f9da0ea275 Bug 557432 - Don't Shutdown() nsAudioStream in Drain() when there's no audio playing. r=kinetik 2010-04-12 10:26:34 +12:00
Chris Pearce b3c6e31cbe Bug 557432 - Commit backout. 2010-04-09 16:33:54 +12:00
Chris Pearce dd488f9034 Bug 557432 - Backed out changeset b64df24f4910 2010-04-09 16:33:07 +12:00
Chris Pearce d2bef555bd Bug 557432 - Lock the audio stream while getting it's played duration. r=doublec 2010-04-08 20:16:02 +12:00
Chris Pearce e795dc9e4c Bug 557095 - Video FPS calculation in 64bit to avoid aborting on overflow. r=doublec 2010-04-08 20:16:02 +12:00
Chris Double 5158a6e2dd Bug 551277. Backed out changeset f9a11b9b2b9f 2010-04-06 18:10:02 +12:00
Chris Double e326281bb9 Bug 551277 - Implement software YCbCr conversion in layers, replacing liboggplay color conversion code - r=roc
--HG--
extra : rebase_source : 53b2c194aa6eb75a4751efdd83f066d3aeadf5d7
2010-04-06 12:07:39 +12:00
Chris Pearce ffe472db29 Bug 531340 - Bustage fix on comm-central. r=bustage-fix 2010-04-02 17:03:12 -07:00
Daniel Holbert 3bae53789a Bug 556900: Fix GCC warnings in nsOggPlayStateMachine.cpp. r=cpearce 2010-04-02 16:47:18 -07:00
Daniel Holbert f828d40011 Bug 556897: Fix GCC warnings "FOO will be initialized after BAR when initialized here" in content/media/ogg/. r=cpearce 2010-04-02 16:47:15 -07:00
Chris Pearce 882bbadbe8 Bug 531340 - AudioLoop() fix; don't dereference nsAutoPtr after forget(). r=bustage-fix 2010-04-01 23:53:38 -07:00
Chris Pearce 2b9c63c81c Bug 531340 - Fix wait-on-audio-queue-empty condition in ogg decoder audio playback loop. r=doublec 2010-04-01 22:19:35 -07:00
Chris Pearce 320df192c5 Bug 531340 - New Ogg video decoder. r=doublec sr=roc 2010-04-01 20:03:07 -07:00
Chris Pearce da8f967b8b Bug 528566 - Invoke resource selection algorithm upon new Audio(url). r=chris.double 2010-03-18 16:00:18 +13:00
Matthew Gregan 7dda845d44 Bug 552578 - Remove unnecessary timeout in frame queue wait to avoid spinning unnecessarily. r=chris.double 2010-03-16 13:58:27 +13:00
Robert O'Callahan 6a58465770 Bug 538323. Part 2: use ImageLayers to render video. r=kinetik 2010-03-02 12:41:49 +13:00
Matthew Gregan a768f5dfdf 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
Matthew Gregan 44246a3bf5 Bug 525401 - Resynchronize system clock against audio clock to avoid clock drift problems when alternating between clocks. r=chris.double 2010-02-05 18:16:29 +13:00
Matthew Gregan e41569520c Bug 525401 - Fix resuming from pause when playing poorly muxed videos. r=chris.double 2010-02-05 17:06:08 +13:00
Mike Hommey a606498025 Bug 550961. Fix license header typos. r=gerv 2010-03-15 14:44:37 +13:00
Joel Maher 5a22815ee5 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Brad Lassey 4492ee705c backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher acb95ebf6d Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Kyle Huey f78a715db2 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher 4b8aff6ea3 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Clint Talbert b962e844a9 Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher 0c7928ce7d Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Matthew Gregan ea3c7d1f80 Backed out changeset 9b33c91c851d 2010-02-26 15:09:56 -08:00
Matthew Gregan 1799a0fcd9 Bug 525401 - Fix resuming from pause when playing poorly muxed videos. r=chris.double
--HG--
extra : rebase_source : 36bed71b92803c1b2f864cdd090db7d575b58d6b
2010-02-05 17:06:08 +13:00
Robert O'Callahan 9b96fcb152 Bug 503989. Break MediaLoadListener reference cycle at shutdown. r=sicking,doublec
--HG--
extra : rebase_source : bbd326582e4a7d0864affcfe3a715e228c4b2647
2010-02-24 11:14:14 -08:00
Phil Ringnalda 569e3dce68 Fix typo to trigger builds
--HG--
extra : rebase_source : 526e64cfda9d8e3e591cfa4c77352a63c20f7f52
2010-02-09 21:39:02 -08:00
Matthew Gregan e9e00a2039 Bug 533822 - Flush liboggz packet_buffer in oggz_reset_streams. r=chris.double 2010-01-08 17:55:39 +13:00
Ralph Giles 1973680341 Bug 539620 - Deprecate X-Content-Duration for Content-Duration. r=chris.double 2010-01-27 13:29:26 +01:00
Jeff Walden 8985b8edda Bug 529404 - Assignments to a property that has a getter but not a setter should not throw a TypeError per ES5, except in strict mode. r=brendan 2009-12-08 17:00:42 -08:00
Robert O'Callahan 8a807b9d2e Bug 526323. Make test_access_controls more precise about attributing failures to the right test, and re-enable it. r=cpearce 2009-12-16 09:08:59 +13:00
Robert O'Callahan 154f93534b Bug 526323. nsCrossSiteListenerProxy for media loads should not treat 416 'range not satisfiable' as an error. r=doublec 2009-12-16 09:08:59 +13:00
Robert O'Callahan 527fce9673 Bug 529105. Don't mess with closed streams when data arrives for a resource that the closed stream is using. r=doublec 2009-11-18 13:38:16 +13:00
Robert O'Callahan 2f00c7ae22 Bug 518659. When deciding whether a previous stream is going to load the data we need, we need to check against the data we'll be loading next, not the data we're currently loading. r=doublec 2009-11-18 13:38:16 +13:00
Mitchell Field 20404dfdcb bug 462381 - sprinkle magic PARALLEL_DIRS fairy dust about the build system r=ted.mielczarek 2009-11-13 14:40:00 -05:00
Daniel Holbert 792328173e bug 526323: disable test_access_control.html on windows due to excessive orange (pending investigation) 2009-11-06 16:27:37 -08:00
Mike Kristoffersen ac19c3d6cb Bug 525946 - White spaces at EOL in nsMediaDecoder.cpp. r=chris.double
--HG--
extra : rebase_source : 2982e3ee884d34b365256df901ae02055bee1765
2009-11-06 08:33:27 +01:00
Mike Kristoffersen 08c53d350f Bug 525949 - White spaces at EOL in nsMediaDecoder.h. r=chris.double 2009-11-05 14:56:05 +01:00
Mike Kristoffersen 5bffaea33d Bug 525951 - White spaces at EOL in nsMediaStream.cpp. r=chris.double 2009-11-05 14:55:35 +01:00
Robert O'Callahan 2ff9b3ea86 Bug 521178. Don't open a connection when we're only trying to read at the end of the resource (even if the seek-vs-read optimization decides we should just read from the start of the resource). r=doublec 2009-10-10 00:48:30 +13:00
Robert O'Callahan fee74c078d Bug 521176. Don't unnecessarily start an HTTP transaction when cloning a media resource. r=doublec 2009-10-10 00:48:30 +13:00
Jesse Ruderman 5ed603c6d3 Add crashtests for bug 466945, bug 464197, and bug 467323 2009-10-31 19:35:39 -07:00
Robert O'Callahan c2c1c87c45 Bug 518659. Make nsHTMLMediaElement hold a reference to itself to keep itself alive while network or decoder activity could result in events being fired in the future. Also rework the handling of media elements in inactive documents. r=jst, r=doublec 2009-10-02 00:10:13 +10:00
Robert O'Callahan 35e28ee24c Bug 518659. Make nsMediaCache call out to nsMediaCacheStream::ClientSeek/Suspend/Resume without holding its lock. r=doublec 2009-10-10 00:46:23 +13:00
Matthew Gregan 58423213dc Bug 499874 - If decoding finishes when seeking to end of media, don't attempt to decode additional frames. Fixes a hang caused by violating oggplay's assumptions. r=roc
--HG--
extra : rebase_source : b8510182821e4babf667b0ff7d63060a82535c7c
2009-10-20 16:18:18 +13:00
Matthew Gregan 63158cc63b Bug 499874 - Move Wave decoder to ended state when seeking to end of media. r=roc
--HG--
extra : rebase_source : 8cad22f7269f9e4a9ff0f9885036b2a47f525b7d
2009-10-20 15:48:03 +13:00
Matthew Gregan da8dcc38aa Bug 523814 - Refresh entry pointer after hashtable mutation in NotifyBlockSwapped. r=roc
--HG--
extra : rebase_source : 38287a4c930df4e55a5cf5fa334d48b26f7105fa
2009-10-23 15:18:54 +13:00
Matthew Gregan 6ac500db15 Bug 523816 - Fix calculation of CMML record size. r=roc
--HG--
extra : rebase_source : a1f68e1f64581029b9624fd57a897f0085dd126b
2009-10-23 11:17:35 +13:00
Chris Pearce 3d981f2bca Bug 523335 - Abort seek operation on underlying stream close. r=roc 2009-10-21 16:24:21 +13:00
Masayuki Nakano 787592b2c6 Backing out bug 520417
--HG--
rename : widget/src/beos/nsSystemSoundService.cpp => widget/src/beos/nsSound.cpp
rename : widget/src/beos/nsSystemSoundService.h => widget/src/beos/nsSound.h
rename : widget/src/cocoa/nsSystemSoundService.h => widget/src/cocoa/nsSound.h
rename : widget/src/cocoa/nsSystemSoundService.mm => widget/src/cocoa/nsSound.mm
rename : widget/src/gtk2/nsSystemSoundService.cpp => widget/src/gtk2/nsSound.cpp
rename : widget/src/gtk2/nsSystemSoundService.h => widget/src/gtk2/nsSound.h
rename : widget/src/os2/nsSystemSoundService.cpp => widget/src/os2/nsSound.cpp
rename : widget/src/os2/nsSystemSoundService.h => widget/src/os2/nsSound.h
rename : widget/src/photon/nsSystemSoundService.cpp => widget/src/photon/nsSound.cpp
rename : widget/src/photon/nsSystemSoundService.h => widget/src/photon/nsSound.h
rename : widget/src/qt/nsSystemSoundService.cpp => widget/src/qt/nsSound.cpp
rename : widget/src/qt/nsSystemSoundService.h => widget/src/qt/nsSound.h
rename : widget/src/windows/nsSystemSoundService.cpp => widget/src/windows/nsSound.cpp
rename : widget/src/windows/nsSystemSoundService.h => widget/src/windows/nsSound.h
2009-10-18 16:29:08 +09:00
Masayuki Nakano 9720c069db Bug 520417 Redesign nsSound structure r+sr=roc
--HG--
rename : widget/src/beos/nsSound.cpp => widget/src/beos/nsSystemSoundService.cpp
rename : widget/src/beos/nsSound.h => widget/src/beos/nsSystemSoundService.h
rename : widget/src/cocoa/nsSound.h => widget/src/cocoa/nsSystemSoundService.h
rename : widget/src/cocoa/nsSound.mm => widget/src/cocoa/nsSystemSoundService.mm
rename : widget/src/gtk2/nsSound.cpp => widget/src/gtk2/nsSystemSoundService.cpp
rename : widget/src/gtk2/nsSound.h => widget/src/gtk2/nsSystemSoundService.h
rename : widget/src/os2/nsSound.cpp => widget/src/os2/nsSystemSoundService.cpp
rename : widget/src/os2/nsSound.h => widget/src/os2/nsSystemSoundService.h
rename : widget/src/photon/nsSound.cpp => widget/src/photon/nsSystemSoundService.cpp
rename : widget/src/photon/nsSound.h => widget/src/photon/nsSystemSoundService.h
rename : widget/src/qt/nsSound.cpp => widget/src/qt/nsSystemSoundService.cpp
rename : widget/src/qt/nsSound.h => widget/src/qt/nsSystemSoundService.h
rename : widget/src/windows/nsSound.cpp => widget/src/windows/nsSystemSoundService.cpp
rename : widget/src/windows/nsSound.h => widget/src/windows/nsSystemSoundService.h
2009-10-17 21:53:47 +09:00
Robert O'Callahan 237448a8b5 Disabling test_resume.html since it apparently fails on Tinderbox 2009-10-15 17:53:00 +13:00
Robert O'Callahan e37c32c1b0 Fixing test 459439-1.html to not depend on the load event (bug 521359) 2009-10-15 17:51:10 +13:00
Matthew Gregan 106d341562 Bug 522418 - Missing mozLoadFrom mochitest. r=roc
--HG--
extra : rebase_source : bda7a6e7bf813eb7e1c54a8550f224b27f37f425
2009-10-15 15:59:41 +13:00
Robert O'Callahan 46dd006b3a Bug 518659. Tests should be in gPlayTests instead of gSmallTests. r=kinetik 2009-10-05 17:04:07 +13:00
Robert O'Callahan a3aa02ea06 Bug 518659. If we finish decoding while loading metadata, go directly to COMPLETED instead of trying to decode again which violates liboggplay's assumptions. r=kinetik 2009-10-05 17:02:36 +13:00
Robert O'Callahan 95e84df56c Bug 521359. Don't enter the NETWORK_LOADED state or fire a media 'load' event. r=doublec 2009-10-10 00:48:55 +13:00
Robert O'Callahan 6582752090 Bug 521359. Our tests should not depend on NETWORK_LOADED or the media 'load' event. r=doublec 2009-10-10 00:48:33 +13:00
Robert O'Callahan cd86b95e1c Bug 522114. While we're suspending the download, a Web server might close our connection, thinking we're dead. This might look just like a normal connection close. So whenever the connection closes after we resumed, try to reopen it, if we're seekable. r=kinetik 2009-10-15 15:20:49 +13:00
Robert O'Callahan a6a8718602 Bug 522114. Fix stupid bug so we don't treat 0 pin count as pinned. r=doublec 2009-10-15 15:20:49 +13:00
Matthew Gregan 8f36ff0ae8 Bug 498380 - Remove bogus packet_buffer assert from oggz_close. r=chris.double 2009-10-12 13:07:51 +13:00
Matthew Gregan b008c9908c Bug 520908 - Use calculated duration from cloned decoder when initializing the clone. r=roc 2009-10-15 14:28:59 +13:00
Chris Pearce e9f08815bc Bug 520500 - Don't reject vorbis streams with 0 length comments. r=doublec 2009-10-14 16:36:01 +13:00
Chris Pearce d0990d78d3 Bug 520493 - Fix regression in Ogg playback. r=doublec 2009-10-14 16:35:59 +13:00
Matthew Gregan b5cedbcd46 Comment-only fix - Update comment on trunk to match bug 493447 patch rebased for 1.9.2. 2009-10-06 16:53:06 +13:00
Matthew Gregan 5b8b7dae6a Bug 507167 and Bug 518941 - Update libvorbis to SVN r16597 to pick up recent fixes. r=chris.double, rs=roc
--HG--
extra : rebase_source : e941bcd256dd233304c6095d9d66ad1a96061ce2
2009-10-05 11:54:13 +13:00
Matthew Gregan 938d15eb28 Bug 493447 - Shrink Ogg decoder frame queues to 5-10 frames (from 20-40). r=chris.double
--HG--
extra : rebase_source : a6cb4b2d5fd1960ebedd0e42fd753e30717d5728
2009-10-05 11:50:34 +13:00
Chris Pearce c7497caf98 Bug 519155 - reset oggz seek on failure. r=doublec 2009-10-03 17:08:12 +13:00
Chris Pearce 9a94880e1e Bug 504843 - Abort ogg decode with excessively large video frame sizes. r=doublec 2009-10-03 17:08:12 +13:00
Robert O'Callahan f961c6ef07 Bug 519136. Clean up media-related logging. r=doublec
--HG--
extra : rebase_source : 2321054271a8726d17da1c58b876e2a7eb88883c
2009-09-30 07:32:44 +10:00
Robert O'Callahan 89a478905f Bug 517818. Wave decoder should not look beyond the Wave data area to see if we have a 'next frame' to play. r=kinetik
--HG--
extra : rebase_source : 9964f0fe36d35745354f5723b5d82b1fc18520d6
2009-09-30 07:32:41 +10:00
Robert O'Callahan 8ed29a029a Bug 517818. Treat HTTP errors (other than 416 'Requested Range Not Available') as network errors. And do not allow an error page to be treated as media data. r=kinetik
--HG--
extra : rebase_source : 47f44d18ff0d2c33f2642ae5bedb132cc43eb3cb
2009-09-30 07:32:30 +10:00
Robert O'Callahan bb0b3e40e3 Bug 517818. When nsMediaCache::Update wants to read from the end of the stream, don't resume if we're already suspended. And if the channel is not already positioned at the end, suspend instead of seeking to the end, since there is no point in seeking to the end and it may cause harmful side effects. r=doublec
--HG--
extra : rebase_source : e816c61621f5dd7c670687cf1a70d2eccb488dd6
2009-09-30 06:48:05 +10:00
Chris Pearce f8b2e4f99a Bug 516323 - Reset libfishsound when seeking to 0 so it doesn't die re-reading header packets. r=doublec 2009-09-29 13:59:00 +13:00